Skip to content

Commit

Permalink
tox.ini, src/tox.ini: New environments ruff, ruff-minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 26, 2024
1 parent cd773f8 commit 2995db0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ description =
deps = ruff
commands = ruff {posargs:{toxinidir}/sage/}
[testenv:ruff-minimal]
description =
check against Sage's minimal style conventions
deps = ruff
commands = ruff {posargs:{toxinidir}/sage/}

[flake8]
rst-roles =
# Sphinx
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1079,3 +1079,11 @@ passenv = {[sage_src]passenv}
envdir = {[sage_src]envdir}
allowlist_externals = {[sage_src]allowlist_externals}
commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs:src/sage/}
[testenv:ruff-minimal]
description =
check against Sage's minimal style conventions
passenv = {[sage_src]passenv}
envdir = {[sage_src]envdir}
allowlist_externals = {[sage_src]allowlist_externals}
commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs:src/sage/}

0 comments on commit 2995db0

Please sign in to comment.