Skip to content

Commit

Permalink
MAINT: simplify tox.ini with base
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 11, 2024
1 parent e12473a commit 74d7c71
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,26 @@ skip_install = True
skip_missing_interpreters = True
skipsdist = True

[testenv]
passenv = *

[testenv:nb]
allowlist_externals =
pytest
commands =
pytest {posargs}
description =
Run all notebooks with pytest
passenv =
*
description = Run all notebooks with pytest

[testenv:sty]
allowlist_externals =
pre-commit
commands =
pre-commit run {posargs} -a
passenv =
*
pre-commit run {posargs} --all-files

[testenv:update]
allowlist_externals =
uv
commands =
uv pip compile requirements.in -o requirements.txt --no-annotate --strip-extras --upgrade
uv pip compile binder/requirements.in -o binder/requirements.txt --no-annotate --strip-extras --upgrade
description =
Update all pip constraint files`
passenv =
*
description = Update all pip constraint files

0 comments on commit 74d7c71

Please sign in to comment.