Skip to content

Commit c93c9ff

Browse files
author
Lukas Pühringer
authored
Merge pull request #2570 from jku/lint-use-github-output-format
Lint use GitHub output format
2 parents 331863e + d85cde5 commit c93c9ff

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
python3 -m pip install --constraint requirements/build.txt tox coveralls
2727
2828
- name: Run tox
29+
env:
30+
RUFF_OUTPUT_FORMAT: github
2931
run: tox -e lint
3032

3133
tests:

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ deps =
4646
-r{toxinidir}/requirements/lint.txt
4747
--editable {toxinidir}
4848
lint_dirs = tuf examples tests verify_release
49+
passenv = RUFF_OUTPUT_FORMAT
4950
commands =
5051
ruff check {[testenv:lint]lint_dirs}
5152
ruff format --diff {[testenv:lint]lint_dirs}

0 commit comments

Comments
 (0)