Skip to content

Commit bfb3842

Browse files
author
Matthias Koeppe
committed
tox.ini, src/tox.ini: Passenv RUFF_OUTPUT_FORMAT in both rust envs
1 parent 9be8c40 commit bfb3842

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ commands = cython-lint --no-pycodestyle {posargs:{toxinidir}/sage/}
263263
description =
264264
check against Python style conventions
265265
deps = ruff
266+
passenv = RUFF_OUTPUT_FORMAT
266267
commands = ruff {posargs:{toxinidir}/sage/}
267268
268269
[testenv:ruff-minimal]

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,8 @@ commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs:src/sage/}
11051105
description =
11061106
check against Sage's minimal style conventions
11071107
passenv = {[sage_src]passenv}
1108+
# https://github.com/ChartBoost/ruff-action/issues/7#issuecomment-1887780308
1109+
RUFF_OUTPUT_FORMAT
11081110
envdir = {[sage_src]envdir}
11091111
allowlist_externals = {[sage_src]allowlist_externals}
11101112
commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs:src/sage/}

0 commit comments

Comments
 (0)