Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tox.ini cleanups #31

Merged
merged 3 commits into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,34 @@ isolated_build = True
[testenv]
minversion = 3.9
passenv =
TEST_INFO_FILE
TEST_INFO_FILE
PYTHONPATH
deps = pytest
commands = py.test -v .

[testenv:pytest]
deps =
pytest
pyyaml
pytest-randomly
pytest
pyyaml
pytest-randomly
commands = pytest -v testcases/mount testcases/consistency testcases/smbtorture

[testenv:sanity]
deps =
pytest
pyyaml
pytest-randomly
pytest
pyyaml
pytest-randomly
changedir = {toxinidir}
commands = pytest -v testcases/consistency

[testenv:flake8]
deps = flake8
changedir = {toxinidir}
commands = flake8 .

[testenv:black]
deps = black>=23.3.0
changedir = {toxinidir}
commands = black --check -l 79 -v .

[testenv:mypy]
Expand All @@ -39,4 +43,5 @@ deps =
types-setuptools
types-pyyaml
types-python-dateutil
changedir = {toxinidir}
commands = mypy --no-color-output .