Skip to content

Commit d85cde5

Browse files
committed
lint: Use GitHub output format on GitHub
This should enable inline annotations. Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent 52fa73a commit d85cde5

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)