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

Update tox.ini #2324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
40 changes: 11 additions & 29 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
[tox]
requires =
tox >= 3
envlist =
lint
py313
py312
py311
py310
py39
py38

requires = tox >= 3
envlist = lint py313 py312
py311 py310 py39 py38
[testenv]
description = Attempt to build and install the package
deps =
Expand All @@ -20,25 +12,15 @@ allowlist_externals = coverage
commands =
coverage run --source=sherlock_project --module pytest -v
coverage report --show-missing

[testenv:offline]
deps =
jsonschema
pytest
commands =
pytest -v -m "not online"

deps = jsonschema
pytest commands = pytest -v
-m "not online"
[testenv:lint]
description = Lint with Ruff
deps =
ruff
commands =
ruff check

deps = ruff
commands = ruff check
[gh-actions]
python =
3.12: py312
3.11: py311
3.10: py310
3.9: py39
3.8: py38
python = 3.12: py312
3.11: py311 3.10: py310
3.9: py39 3.8: py38