Skip to content

Commit a95618c

Browse files
authored
Merge pull request #121 from dmtucker/mypy
Update test deps
2 parents 8b622ea + 0c3411d commit a95618c

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

tests/test_pytest_mypy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_mypy_ignore_missings_imports(testdir, xdist_args):
118118
result.assert_outcomes(failed=mypy_checks)
119119
result.stdout.fnmatch_lines(
120120
[
121-
"2: error: Cannot find *module named '{module_name}'".format(
121+
"2: error: Cannot find *module named *{module_name}*".format(
122122
module_name=module_name,
123123
),
124124
],

tox.ini

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
minversion = 3.20
44
isolated_build = true
55
envlist =
6-
py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
7-
py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
8-
py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
9-
py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x}
10-
py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x}
6+
py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
7+
py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
8+
py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
9+
py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
10+
py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
1111
publish
1212
static
1313

1414
[gh-actions]
1515
python =
16-
3.5: py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
17-
3.6: py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
18-
3.7: py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x}
19-
3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x}, publish, static
20-
3.9: py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x}
16+
3.5: py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
17+
3.6: py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
18+
3.7: py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
19+
3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}, publish, static
20+
3.9: py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
2121

2222
[testenv]
2323
deps =
@@ -134,6 +134,8 @@ deps =
134134
mypy0.80: mypy >= 0.800, < 0.810
135135
mypy0.81: mypy >= 0.810, < 0.820
136136
mypy0.8x: mypy >= 0.800, < 0.900
137+
mypy0.90: mypy >= 0.900, < 0.910
138+
mypy0.9x: mypy >= 0.900, <= 0.999
137139

138140
pexpect ~= 4.8.0
139141

@@ -145,19 +147,19 @@ testpaths = tests
145147
[testenv:publish]
146148
passenv = TWINE_*
147149
deps =
148-
build ~= 0.3.0
149-
twine ~= 3.3.0
150+
build ~= 0.4.0
151+
twine ~= 3.4.0
150152
commands =
151153
{envpython} -m build --outdir {distdir} .
152154
twine {posargs:check} {distdir}/*
153155

154156
[testenv:static]
155157
deps =
156158
bandit ~= 1.7.0
157-
black ~= 20.8b
158-
flake8 ~= 3.8.3
159+
black ~= 21.6b
160+
flake8 ~= 3.9.0
159161
flake8-commas ~= 2.0.0
160-
mypy >= 0.810, < 0.820
162+
mypy >= 0.900, < 0.910
161163
commands =
162164
black --check src setup.py tests
163165
flake8 src setup.py tests

0 commit comments

Comments
 (0)