Skip to content

Commit

Permalink
tox: cleanup linter requirements
Browse files Browse the repository at this point in the history
The `ruff` package was added to the global development requirements.
However, this is only needed for the tox lint environment. Also, the
explicit dependency on ruff inside the tox configuration defines an
incorrect name of the environment to map the dependency on.

This commit corrects all of the above, in addition to bumping ruff to
its most recent version.

Signed-off-by: James Knight <james.d.knight@live.com>
  • Loading branch information
jdknight committed Feb 19, 2024
1 parent 60006cc commit 878f302
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion requirements_dev.txt
@@ -1,2 +1 @@
responses
ruff
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -26,7 +26,7 @@ passenv =
[testenv:lint]
deps =
{[testenv]deps}
ruff: ruff==0.2.1
lint: ruff==0.2.2
commands =
ruff \
nfsn_ddns \
Expand Down

0 comments on commit 878f302

Please sign in to comment.