Skip to content

Commit 5a76bb6

Browse files
committed
create mypy_requirements.txt for mypy related deps
1 parent ba88f5e commit 5a76bb6

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ jenkins:
183183
. env3/bin/activate ; \
184184
pip install -U setuptools pip wheel ; \
185185
${MAKE} install-dep ; \
186-
pip install -U -r requirements.txt ; ${MAKE} mypy
186+
pip install -U -r mypy_requirements.txt ; ${MAKE} mypy
187187

188188
FORCE:

mypy_requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mypy==0.470 ; python_version>="3"
2+
typed-ast==0.6.3 ; python_version>="3"

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ rdflib==4.2.2
66
rdflib-jsonld==0.4.0
77
mistune==0.7.3
88
CacheControl==0.11.7
9-
lockfile==0.12.2
10-
mypy==0.470 ; python_version>="3"
11-
typed-ast==0.6.3 ; python_version>="3"
9+
lockfile==0.12.2

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ deps = -rrequirements.txt
1414
commands = make mypy
1515
whitelist_externals = make
1616
deps =
17+
-rmypy_requirements.txt
1718
-rrequirements.txt
1819

1920
[testenv:py35-mypy]
2021
commands = make mypy
2122
whitelist_externals = make
2223
deps =
24+
-rmypy_requirements.txt
2325
-rrequirements.txt
2426

2527
[testenv:py35-lint]

0 commit comments

Comments
 (0)