@@ -4,9 +4,9 @@ envlist =
4
4
py3{6,7,8,9,10,11}-unit
5
5
py3{6,7,8,9,10,11}-bandit
6
6
py3{7,8,9,10,11}-mypy
7
- py310 -lintreadme
8
- py310 -shellcheck
9
- py310 -pydocstyle
7
+ py311 -lintreadme
8
+ py311 -shellcheck
9
+ py311 -pydocstyle
10
10
11
11
skip_missing_interpreters = True
12
12
@@ -32,9 +32,9 @@ description =
32
32
py3{6,7,8,9,10,11}-lint: Lint the Python code
33
33
py3{6,7,8,9,10,11}-bandit: Search for common security issues
34
34
py3{7,8,9,10,11}-mypy: Check for type safety
35
- py310 -pydocstyle: docstring style checker
36
- py310 -shellcheck: syntax check for shell scripts
37
- py310 -lintreadme: Lint the README.rst→.md conversion
35
+ py311 -pydocstyle: docstring style checker
36
+ py311 -shellcheck: syntax check for shell scripts
37
+ py311 -lintreadme: Lint the README.rst→.md conversion
38
38
39
39
passenv =
40
40
CI
@@ -51,29 +51,28 @@ deps =
51
51
py3{6,7,8,9,10,11}-bandit: bandit
52
52
py3{6,7,8,9,10,11}-bandit: importlib_metadata != 4.8.0
53
53
py3{7,8,9,10,11}-mypy: -rmypy-requirements.txt
54
- py310 -pydocstyle: pydocstyle
55
- py310 -pydocstyle: diff-cover
56
- py310 -lintreadme: twine
57
- py310 -lintreadme: wheel
58
- py310 -lintreadme: readme_renderer[md]
54
+ py311 -pydocstyle: pydocstyle
55
+ py311 -pydocstyle: diff-cover
56
+ py311 -lintreadme: twine
57
+ py311 -lintreadme: build
58
+ py311 -lintreadme: readme_renderer[md]
59
59
60
60
setenv =
61
61
py3{6,7,8,9,10,11}-unit: LC_ALL = C.UTF-8
62
62
63
63
commands_pre =
64
64
py3{6,7,8,9,10,11}-unit: python -m pip install -U pip setuptools wheel
65
- py310-lintreadme: python setup.py sdist --dist-dir {distdir}
66
- py310-lintreadme: python setup.py bdist_wheel --dist-dir {distdir}
65
+ py311-lintreadme: python -m build --outdir {distdir}
67
66
68
67
commands =
69
68
py3{6,7,8,9,10,11}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
70
69
py3{6,7,8,9,10,11}-bandit: bandit -r cwltool
71
70
py3{6,7,8,9,10,11}-lint: make flake8 format-check codespell
72
71
py3{7,8,9,10,11}-mypy: make mypy mypyc PYTEST_EXTRA ={posargs}
73
72
py37-mypy: make mypy_3.6
74
- py310 -shellcheck: make shellcheck
75
- py310 -pydocstyle: make diff_pydocstyle_report
76
- py310 -lintreadme: twine check {distdir}/*
73
+ py311 -shellcheck: make shellcheck
74
+ py311 -pydocstyle: make diff_pydocstyle_report
75
+ py311 -lintreadme: twine check {distdir}/*
77
76
78
77
skip_install =
79
78
py3{6,7,8,9,10,11}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
0 commit comments