Skip to content

Commit

Permalink
skip lint checks for Py3.7 (EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jul 11, 2023
1 parent 496cf54 commit 2398056
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- py-ver-major: 3
py-ver-minor: 6
step: lint
- py-ver-major: 3
py-ver-minor: 7
step: lint

env:
py-semver: ${{ format('{0}.{1}', matrix.py-ver-major, matrix.py-ver-minor) }}
Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{36,37,38,39,310,311}-lint,
py{38,39,310,311}-lint,
py{36,37,38,39,310,311}-unit,
py{36,37,38,39,310,311}-bandit,
py{37,38,39,310,311}-mypy,
Expand All @@ -24,7 +24,7 @@ python =
[testenv]
description =
py{36,37,38,39,310,311}-unit: Run the unit tests
py{36,37,38,39,310,311}-lint: Lint the Python code
py{38,39,310,311}-lint: Lint the Python code
py{36,37,38,39,310,311}-bandit: Search for common security issues
py{37,38,39,310,311}-mypy: Check for type safety
py311-pydocstyle: docstring style checker
Expand All @@ -36,7 +36,7 @@ passenv =
deps =
py{36,37,38,39,310,311}-{unit,mypy}: -rrequirements.txt
py{36,37,38,39,310,311}-{unit,mypy}: -rtest-requirements.txt
py{36,37,38,39,310,311}-lint: -rlint-requirements.txt
py{38,39,310,311}-lint: -rlint-requirements.txt
py{36,37,38,39,310,311}-bandit: bandit
py{36,37}-bandit: importlib-metadata<5 # work around https://github.com/PyCQA/bandit/issues/956
py{37,38,39,310,311}-mypy: -rmypy-requirements.txt
Expand All @@ -48,18 +48,18 @@ commands =
py{36,37,38,39,310,311}-unit: python -m pip install -U pip setuptools wheel
py{36,37,38,39,310,311}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
py{36,37,38,39,310,311}-bandit: bandit --recursive cwl_utils
py{36,37,38,39,310,311}-lint: make flake8
py{36,37,38,39,310,311}-lint: make format-check
py{38,39,310,311}-lint: make flake8
py{38,39,310,311}-lint: make format-check
py{37,38,39,310,311}-mypy: make mypy
py37-mypy: make mypy_3.6

allowlist_externals =
py{36,37,38,39,310,311}-lint: flake8
py{36,37,38,39,310,311}-lint: black
py{38,39,310,311}-lint: flake8
py{38,39,310,311}-lint: black
py{36,37,38,39,310,311}-{mypy,shellcheck,lint,unit}: make

skip_install =
py{36,37,38,39,310,311}-lint: true
py{38,39,310,311}-lint: true
py{36,37,38,39,310,311}-bandit: true

extras =
Expand Down

0 comments on commit 2398056

Please sign in to comment.