@@ -149,15 +149,13 @@ commands =
149
149
[testenv:flake8-tests]
150
150
basepython = {[testenv:flake8]basepython}
151
151
deps =
152
- flake8
153
- # https://github.com/JBKahn/flake8-print/pull/30
154
- flake8-print>=3.1.0
152
+ -rdev_requirements/linter-requirements.txt
155
153
commands =
156
154
flake8 \
157
155
# Ignore F811 redefinition errors in tests (breaks with pytest-mock use)
158
156
# E203 is not PEP8 compliant https://github.com/ambv/black#slices
159
157
# W503 is not PEP8 compliant https://github.com/ambv/black#line-breaks--binary-operators
160
- --ignore F811,E203,W503 \
158
+ --ignore F811,E203,W503,D \
161
159
test/
162
160
163
161
[testenv:flake8-examples]
@@ -176,8 +174,7 @@ commands =
176
174
basepython = python3
177
175
deps =
178
176
{[testenv]deps}
179
- pyflakes
180
- pylint
177
+ -rdev_requirements/linter-requirements.txt
181
178
commands =
182
179
pylint \
183
180
--rcfile =src/pylintrc \
@@ -205,7 +202,7 @@ commands =
205
202
[testenv:blacken-src]
206
203
basepython = python3
207
204
deps =
208
- black
205
+ -rdev_requirements/linter-requirements.txt
209
206
commands =
210
207
black --line-length 120 \
211
208
src/aws_encryption_sdk/ \
@@ -232,12 +229,12 @@ commands =
232
229
233
230
[testenv:isort-seed]
234
231
basepython = python3
235
- deps = seed-isort-config
232
+ deps = -rdev_requirements/linter-requirements.txt
236
233
commands = seed-isort-config
237
234
238
235
[testenv:isort]
239
236
basepython = python3
240
- deps = isort
237
+ deps = -rdev_requirements/linter-requirements.txt
241
238
commands = isort -rc \
242
239
src \
243
240
test \
@@ -264,25 +261,23 @@ commands =
264
261
[testenv:doc8]
265
262
basepython = python3
266
263
deps =
267
- sphinx
268
- doc8
264
+ -rdev_requirements/linter-requirements.txt
269
265
commands = doc8 doc/index.rst README.rst CHANGELOG.rst
270
266
271
267
[testenv:readme]
272
268
basepython = python3
273
- deps = readme_renderer
269
+ deps = -rdev_requirements/linter-requirements.txt
274
270
commands = python setup.py check -r -s
275
271
276
272
[testenv:bandit]
277
273
basepython = python3
278
- deps =
279
- bandit>=1.5.1
274
+ deps = -rdev_requirements/linter-requirements.txt
280
275
commands = bandit -r src/aws_encryption_sdk/
281
276
282
277
# Prone to false positives: only run independently
283
278
[testenv:vulture]
284
279
basepython = python3
285
- deps = vulture
280
+ deps = -rdev_requirements/linter-requirements.txt
286
281
commands = vulture src/aws_encryption_sdk/
287
282
288
283
[testenv:linters]
0 commit comments