@@ -132,7 +132,7 @@ commands = {[testenv:test-upstream-requirements-base]commands}
132
132
133
133
# Linters
134
134
[testenv:flake8]
135
- basepython = python3
135
+ basepython = python3.8
136
136
deps =
137
137
-rdev_requirements/linter-requirements.txt
138
138
commands =
@@ -164,7 +164,7 @@ commands =
164
164
examples/test/
165
165
166
166
[testenv:pylint]
167
- basepython = python3
167
+ basepython = {[testenv:flake8]basepython}
168
168
deps =
169
169
{[testenv]deps}
170
170
-rdev_requirements/linter-requirements.txt
@@ -192,7 +192,7 @@ commands =
192
192
test/integration/
193
193
194
194
[testenv:blacken-src]
195
- basepython = python3
195
+ basepython = {[testenv:flake8]basepython}
196
196
deps =
197
197
-rdev_requirements/linter-requirements.txt
198
198
commands =
@@ -206,26 +206,26 @@ commands =
206
206
207
207
208
208
[testenv:blacken]
209
- basepython = python3
209
+ basepython = {[testenv:pylint]basepython}
210
210
deps =
211
211
{[testenv:blacken-src]deps}
212
212
commands =
213
213
{[testenv:blacken-src]commands}
214
214
215
215
[testenv:black-check]
216
- basepython = python3
216
+ basepython = {[testenv:pylint]basepython}
217
217
deps =
218
218
{[testenv:blacken]deps}
219
219
commands =
220
220
{[testenv:blacken-src]commands} --diff
221
221
222
222
[testenv:isort-seed]
223
- basepython = python3
223
+ basepython = {[testenv:pylint]basepython}
224
224
deps = -rdev_requirements/linter-requirements.txt
225
225
commands = seed-isort-config
226
226
227
227
[testenv:isort]
228
- basepython = python3
228
+ basepython = {[testenv:pylint]basepython}
229
229
deps = -rdev_requirements/linter-requirements.txt
230
230
commands = isort -rc \
231
231
src \
@@ -237,12 +237,12 @@ commands = isort -rc \
237
237
{posargs}
238
238
239
239
[testenv:isort-check]
240
- basepython = python3
240
+ basepython = {[testenv:pylint]basepython}
241
241
deps = {[testenv:isort]deps}
242
242
commands = {[testenv:isort]commands} -c
243
243
244
244
[testenv:autoformat]
245
- basepython = python3
245
+ basepython = {[testenv:pylint]basepython}
246
246
deps =
247
247
{[testenv:blacken]deps}
248
248
{[testenv:isort]deps}
@@ -251,30 +251,30 @@ commands =
251
251
{[testenv:isort]commands}
252
252
253
253
[testenv:doc8]
254
- basepython = python3
254
+ basepython = {[testenv:pylint]basepython}
255
255
deps =
256
256
-rdev_requirements/linter-requirements.txt
257
257
commands = doc8 doc/index.rst README.rst CHANGELOG.rst
258
258
259
259
[testenv:readme]
260
- basepython = python3
260
+ basepython = {[testenv:pylint]basepython}
261
261
deps = -rdev_requirements/linter-requirements.txt
262
262
commands = python setup.py check -r -s
263
263
264
264
[testenv:bandit]
265
- basepython = python3
265
+ basepython = {[testenv:pylint]basepython}
266
266
deps =
267
267
-rdev_requirements/linter-requirements.txt
268
268
commands = bandit -r src/aws_encryption_sdk/
269
269
270
270
# Prone to false positives: only run independently
271
271
[testenv:vulture]
272
- basepython = python3
272
+ basepython = {[testenv:pylint]basepython}
273
273
deps = -rdev_requirements/linter-requirements.txt
274
274
commands = vulture src/aws_encryption_sdk/
275
275
276
276
[testenv:linters]
277
- basepython = python3
277
+ basepython = {[testenv:pylint]basepython}
278
278
deps =
279
279
{[testenv:flake8]deps}
280
280
{[testenv:pylint]deps}
@@ -289,7 +289,7 @@ commands =
289
289
{[testenv:bandit]commands}
290
290
291
291
[testenv:linters-tests]
292
- basepython = python3
292
+ basepython = {[testenv:pylint]basepython}
293
293
deps =
294
294
{[testenv:flake8-tests]deps}
295
295
{[testenv:pylint-tests]deps}
@@ -298,7 +298,7 @@ commands =
298
298
{[testenv:pylint-tests]commands}
299
299
300
300
[testenv:linters-examples]
301
- basepython = python3
301
+ basepython = {[testenv:pylint]basepython}
302
302
deps =
303
303
{[testenv:flake8-examples]deps}
304
304
{[testenv:pylint-examples]deps}
@@ -308,13 +308,13 @@ commands =
308
308
309
309
# Documentation
310
310
[testenv:docs]
311
- basepython = python3
311
+ basepython = {[testenv:pylint]basepython}
312
312
deps = -rdoc/requirements.txt
313
313
commands =
314
314
sphinx-build -E -c doc/ -b html doc/ doc/build/html
315
315
316
316
[testenv:serve-docs]
317
- basepython = python3
317
+ basepython = {[testenv:pylint]basepython}
318
318
skip_install = true
319
319
changedir = doc/build/html
320
320
deps =
0 commit comments