Skip to content

Commit 2398056

Browse files
committed
skip lint checks for Py3.7 (EOL)
1 parent 496cf54 commit 2398056

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/ci-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- py-ver-major: 3
3030
py-ver-minor: 6
3131
step: lint
32+
- py-ver-major: 3
33+
py-ver-minor: 7
34+
step: lint
3235

3336
env:
3437
py-semver: ${{ format('{0}.{1}', matrix.py-ver-major, matrix.py-ver-minor) }}

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{36,37,38,39,310,311}-lint,
3+
py{38,39,310,311}-lint,
44
py{36,37,38,39,310,311}-unit,
55
py{36,37,38,39,310,311}-bandit,
66
py{37,38,39,310,311}-mypy,
@@ -24,7 +24,7 @@ python =
2424
[testenv]
2525
description =
2626
py{36,37,38,39,310,311}-unit: Run the unit tests
27-
py{36,37,38,39,310,311}-lint: Lint the Python code
27+
py{38,39,310,311}-lint: Lint the Python code
2828
py{36,37,38,39,310,311}-bandit: Search for common security issues
2929
py{37,38,39,310,311}-mypy: Check for type safety
3030
py311-pydocstyle: docstring style checker
@@ -36,7 +36,7 @@ passenv =
3636
deps =
3737
py{36,37,38,39,310,311}-{unit,mypy}: -rrequirements.txt
3838
py{36,37,38,39,310,311}-{unit,mypy}: -rtest-requirements.txt
39-
py{36,37,38,39,310,311}-lint: -rlint-requirements.txt
39+
py{38,39,310,311}-lint: -rlint-requirements.txt
4040
py{36,37,38,39,310,311}-bandit: bandit
4141
py{36,37}-bandit: importlib-metadata<5 # work around https://github.com/PyCQA/bandit/issues/956
4242
py{37,38,39,310,311}-mypy: -rmypy-requirements.txt
@@ -48,18 +48,18 @@ commands =
4848
py{36,37,38,39,310,311}-unit: python -m pip install -U pip setuptools wheel
4949
py{36,37,38,39,310,311}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
5050
py{36,37,38,39,310,311}-bandit: bandit --recursive cwl_utils
51-
py{36,37,38,39,310,311}-lint: make flake8
52-
py{36,37,38,39,310,311}-lint: make format-check
51+
py{38,39,310,311}-lint: make flake8
52+
py{38,39,310,311}-lint: make format-check
5353
py{37,38,39,310,311}-mypy: make mypy
5454
py37-mypy: make mypy_3.6
5555

5656
allowlist_externals =
57-
py{36,37,38,39,310,311}-lint: flake8
58-
py{36,37,38,39,310,311}-lint: black
57+
py{38,39,310,311}-lint: flake8
58+
py{38,39,310,311}-lint: black
5959
py{36,37,38,39,310,311}-{mypy,shellcheck,lint,unit}: make
6060

6161
skip_install =
62-
py{36,37,38,39,310,311}-lint: true
62+
py{38,39,310,311}-lint: true
6363
py{36,37,38,39,310,311}-bandit: true
6464

6565
extras =

0 commit comments

Comments
 (0)