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 @@ -70,31 +70,33 @@ commands =
70
70
t.close()"
71
71
coverage report -m
72
72
73
- [testenv:mypy-py3 ]
73
+ [testenv:mypy-common ]
74
74
basepython = python3
75
75
deps =
76
76
coverage
77
- mypy
77
+ mypy<=0.560
78
78
mypy_extensions
79
79
typing>=3.6.2
80
+
81
+ [testenv:mypy-py3]
82
+ basepython = {[testenv:mypy-common]basepython}
83
+ deps = {[testenv:mypy-common]deps}
80
84
commands =
81
85
python -m mypy \
82
86
--linecoverage-report build \
83
- src/dynamodb_encryption_sdk/
87
+ src/dynamodb_encryption_sdk/ \
88
+ {posargs}
84
89
{[testenv:mypy-coverage]commands}
85
90
86
91
[testenv:mypy-py2]
87
- basepython = python3
88
- deps =
89
- coverage
90
- mypy
91
- mypy_extensions
92
- typing>=3.6.2
92
+ basepython = {[testenv:mypy-common]basepython}
93
+ deps = {[testenv:mypy-common]deps}
93
94
commands =
94
95
python -m mypy \
95
96
--py2 \
96
97
--linecoverage-report build \
97
- src/dynamodb_encryption_sdk/
98
+ src/dynamodb_encryption_sdk/ \
99
+ {posargs}
98
100
{[testenv:mypy-coverage]commands}
99
101
100
102
# Linters
You can’t perform that action at this time.
0 commit comments