From 8a84ea32967f428c3661fb22fc6aad7e5d8f692b Mon Sep 17 00:00:00 2001 From: Alexandre Muller Date: Thu, 8 Feb 2024 10:23:58 +0100 Subject: [PATCH] tox: fix tests and quality jobs - Drop flake8-builtins-unleashed plugin. This plugin is not maintained anymore and is not compatible with flake8 > 3.0 --- Makefile | 2 +- requirements-dev.txt | 1 - tox.ini | 6 ++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 16e9734..933f462 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/requirements-dev.txt b/requirements-dev.txt index 36a2752..afcde9e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -12,7 +12,6 @@ check-manifest flake8 flake8-bandit>=1.0.2 flake8-bugbear -flake8-builtins-unleashed flake8-commas flake8-docstrings flake8-isort diff --git a/tox.ini b/tox.ini index 78d5199..6a7b201 100644 --- a/tox.ini +++ b/tox.ini @@ -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]