File tree 1 file changed +12
-10
lines changed 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -63,31 +63,33 @@ commands =
63
63
t.close()"
64
64
coverage report -m
65
65
66
- [testenv:mypy-py3 ]
66
+ [testenv:mypy-common ]
67
67
basepython = python3
68
68
deps =
69
69
coverage
70
- mypy
70
+ mypy<=0.560
71
71
mypy_extensions
72
72
typing>=3.6.2
73
+
74
+ [testenv:mypy-py3]
75
+ basepython = {[testenv:mypy-common]basepython}
76
+ deps = {[testenv:mypy-common]deps}
73
77
commands =
74
78
python -m mypy \
75
79
--linecoverage-report build \
76
- src/dynamodb_encryption_sdk/
80
+ src/dynamodb_encryption_sdk/ \
81
+ {posargs}
77
82
{[testenv:mypy-coverage]commands}
78
83
79
84
[testenv:mypy-py2]
80
- basepython = python3
81
- deps =
82
- coverage
83
- mypy
84
- mypy_extensions
85
- typing>=3.6.2
85
+ basepython = {[testenv:mypy-common]basepython}
86
+ deps = {[testenv:mypy-common]deps}
86
87
commands =
87
88
python -m mypy \
88
89
--py2 \
89
90
--linecoverage-report build \
90
- src/dynamodb_encryption_sdk/
91
+ src/dynamodb_encryption_sdk/ \
92
+ {posargs}
91
93
{[testenv:mypy-coverage]commands}
92
94
93
95
# Linters
You can’t perform that action at this time.
0 commit comments