Skip to content

Commit

Permalink
tox: fix tests and quality jobs
Browse files Browse the repository at this point in the history
- Drop flake8-builtins-unleashed plugin. This plugin is not maintained anymore
and is not compatible with flake8 > 3.0
  • Loading branch information
sandre35 committed Feb 22, 2024
1 parent 6823e6a commit 0b50425
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ quality:
python setup.py check --strict --metadata
python setup.py --quiet sdist && twine check dist/*
check-manifest
flake8 src tests setup.py
flake8 src tests

Quality: # not used in tests
vulture --exclude=build/ src tests setup.py
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ check-manifest
flake8
flake8-bandit>=1.0.2
flake8-bugbear
flake8-builtins-unleashed
flake8-commas
flake8-docstrings
flake8-isort
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ envlist = py38, py39, py310, py311, py312, docs, quality
skip_missing_interpreters = True

[testenv:docs]
deps = -rrequirements-dev.txt
commands = make docs

[testenv:quality]
deps = -rrequirements-dev.txt
commands = make quality

[testenv]
deps = pytest
whitelist_externals = make
deps = -rrequirements-dev.txt
allowlist_externals = make
commands = make tests

[gh-actions]
Expand Down

0 comments on commit 0b50425

Please sign in to comment.