summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 8 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index b2644f3..5adb901 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,8 @@
[tox]
-envlist=py36,py37,py38,py39,py310,flake8
+envlist=lint,py36,py37,py38,py39,py310
[testenv]
-commands=pytest --cov rq --durations=5 {posargs}
+commands=pytest --cov rq --cov-config=.coveragerc --durations=5 {posargs}
deps=
pytest
pytest-cov
@@ -13,13 +13,14 @@ passenv=
RUN_SSL_TESTS
RUN_SLOW_TESTS_TOO
-[testenv:flake8]
-basepython = python3.6
+[testenv:lint]
+basepython = python3.10
deps =
- flake8
+ black
+ ruff
commands =
- flake8 rq tests
-
+ black --check rq tests
+ ruff check rq tests
[testenv:py36]
skipdist = True