Skip to content

Commit 3247549

Browse files
committed
typing was never updated for py37 (#131)
Extend CI (cherry picked from commit c6effd4) Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent e4f0b22 commit 3247549

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
install:
8585
- *upgrade_python_toolset
8686
- *install_deps
87-
- pip install --upgrade "mypy >= 0.660"
87+
- pip install --upgrade "mypy >= 0.670"
8888
script:
8989
- mypy --strict exec_helpers
9090

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ six>=1.10.0 # MIT
44
threaded>=2.0 # Apache-2.0
55
PyYAML>=3.12 # MIT
66
advanced-descriptors>=1.0 # Apache-2.0
7-
typing >= 3.6 ; python_version < "3.8"
7+
typing >= 3.6 ; python_version < "3.7"
88
psutil >= 5.0

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,16 @@ exclude =
9999
ignore =
100100
E203,
101101
W503
102+
D401,
103+
D202,
104+
D203,
105+
D213
102106
# whitespace before ':'
103107
# line break before binary operator
108+
# First line should be in imperative mood; try rephrasing
109+
# No blank lines allowed after function docstring
110+
# 1 blank line required before class docstring
111+
# Multi-line docstring summary should start at the second line
104112
show-pep8 = True
105113
show-source = True
106114
count = True
@@ -143,7 +151,7 @@ commands = pipdeptree
143151

144152
[testenv:mypy]
145153
deps =
146-
mypy>=0.660
154+
mypy>=0.670
147155
lxml
148156
-r{toxinidir}/CI_REQUIREMENTS.txt
149157
usedevelop = False

0 commit comments

Comments
 (0)