test: make pylint a dependency for tests extra
This commit is contained in:
parent
ffd82eb611
commit
49f9a0228b
2 changed files with 2 additions and 4 deletions
|
@ -41,7 +41,7 @@ dependencies = [
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
db = ["SQLAlchemy", "alembic", "alembic-postgresql-enum", "passlib"]
|
db = ["SQLAlchemy", "alembic", "alembic-postgresql-enum", "passlib"]
|
||||||
docs = ["Sphinx", "sphinxcontrib-programoutput", "enum-tools[sphinx]", "furo"]
|
docs = ["Sphinx", "sphinxcontrib-programoutput", "enum-tools[sphinx]", "furo"]
|
||||||
tests = ["pytest-cov", "tox"]
|
tests = ["pylint", "pytest-cov", "tox"]
|
||||||
|
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -12,9 +12,7 @@ extras = tests
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
basepython = python3.11
|
basepython = python3.11
|
||||||
extras = db
|
extras = db,tests
|
||||||
deps = pylint
|
|
||||||
prompt_toolkit
|
|
||||||
commands = pylint wuttjamaican
|
commands = pylint wuttjamaican
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue