diff --git a/src/tox.ini b/src/tox.ini index 48b312c97e5..ef5e3d1cd1a 100644 --- a/src/tox.ini +++ b/src/tox.ini @@ -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 diff --git a/tox.ini b/tox.ini index 81e9dadd2b6..127a38cde73 100644 --- a/tox.ini +++ b/tox.ini @@ -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/}