Skip to content

Commit a7d1d50

Browse files
committed
tox: match {shellcheck,pydocstyle,lintreadme} py version to CI
1 parent 899da9f commit a7d1d50

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ MODULE=cwltool
2525
# `SHELL=bash` doesn't work for some, so don't use BASH-isms like
2626
# `[[` conditional expressions.
2727
PYSOURCES=$(wildcard ${MODULE}/**.py cwltool/cwlprov/*.py tests/*.py tests/cwl-conformance/*.py) setup.py
28-
DEVPKGS=diff_cover pylint pep257 pydocstyle 'tox<4' tox-pyenv auto-walrus \
28+
DEVPKGS=diff_cover pylint pep257 pydocstyle 'tox>4' auto-walrus \
2929
isort wheel autoflake pyupgrade bandit -rlint-requirements.txt\
3030
-rtest-requirements.txt -rmypy-requirements.txt -rdocs/requirements.txt
3131
DEBDEVPKGS=pep8 python-autopep8 pylint python-coverage pydocstyle sloccount \

tox.ini

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ envlist =
44
py3{10,11,12,13,14}-unit
55
py3{10,11,12,13,14}-bandit
66
py3{10,11,12,13,14}-mypy
7-
py312-lintreadme
8-
py312-shellcheck
9-
py312-pydocstyle
7+
py313-lintreadme
8+
py313-shellcheck
9+
py313-pydocstyle
1010

1111
skip_missing_interpreters = True
1212

@@ -31,9 +31,9 @@ description =
3131
py3{10,11,12,13,14}-lint: Lint the Python code
3232
py3{10,11,12,13,14}-bandit: Search for common security issues
3333
py3{10,11,12,13,14}-mypy: Check for type safety
34-
py312-pydocstyle: docstring style checker
35-
py312-shellcheck: syntax check for shell scripts
36-
py312-lintreadme: Lint the README.rst→.md conversion
34+
py313-pydocstyle: docstring style checker
35+
py313-shellcheck: syntax check for shell scripts
36+
py313-lintreadme: Lint the README.rst→.md conversion
3737

3838
passenv =
3939
CI
@@ -52,27 +52,27 @@ deps =
5252
py3{10,11,12,13,14}-lint: -rlint-requirements.txt
5353
py3{10,11,12,13,14}-bandit: bandit
5454
py3{10,11,12,13,14}-mypy: -rmypy-requirements.txt
55-
py312-pydocstyle: pydocstyle
56-
py312-pydocstyle: diff-cover
57-
py312-lintreadme: twine
58-
py312-lintreadme: build
59-
py312-lintreadme: readme_renderer[rst]
55+
py313-pydocstyle: pydocstyle
56+
py313-pydocstyle: diff-cover
57+
py313-lintreadme: twine
58+
py313-lintreadme: build
59+
py313-lintreadme: readme_renderer[rst]
6060

6161
setenv =
6262
LC_ALL = C.UTF-8
6363
HOME = {envtmpdir}
6464

6565
commands_pre =
66-
py312-lintreadme: python -m build --outdir {pkg_dir}
66+
py313-lintreadme: python -m build --outdir {pkg_dir}
6767

6868
commands =
6969
py3{10,11,12,13,14}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
7070
py3{10,11,12,13,14}-bandit: bandit -r cwltool
7171
py3{10,11,12,13,14}-lint: make flake8 format-check codespell-check
7272
py3{10,11,12,13,14}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
73-
py312-shellcheck: make shellcheck
74-
py312-pydocstyle: make diff_pydocstyle_report
75-
py312-lintreadme: twine check {pkg_dir}/*
73+
py313-shellcheck: make shellcheck
74+
py313-pydocstyle: make diff_pydocstyle_report
75+
py313-lintreadme: twine check {pkg_dir}/*
7676

7777
skip_install =
7878
py3{10,11,12,13,14}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true

0 commit comments

Comments
 (0)