Skip to content

Commit caec629

Browse files
authored
Merge pull request #116 from manu-chroma/master
mypy-requirements.txt: add mypy, typed-ast packages, use in tox and Makefile
2 parents 9d9317e + 5a76bb6 commit caec629

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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 mypy ; ${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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +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
9+
lockfile==0.12.2

tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ deps = -rrequirements.txt
1414
commands = make mypy
1515
whitelist_externals = make
1616
deps =
17-
mypy==0.470
18-
typed-ast==0.6.3
17+
-rmypy_requirements.txt
1918
-rrequirements.txt
2019

2120
[testenv:py35-mypy]
2221
commands = make mypy
2322
whitelist_externals = make
2423
deps =
25-
mypy==0.470
26-
typed-ast==0.6.3
24+
-rmypy_requirements.txt
2725
-rrequirements.txt
2826

2927
[testenv:py35-lint]

0 commit comments

Comments
 (0)