mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Loop over output formats
This commit is contained in:
parent
5dfe52452e
commit
f182a41a21
16
.github/workflows/ci.yaml
vendored
16
.github/workflows/ci.yaml
vendored
@ -116,16 +116,26 @@ jobs:
|
||||
# "json" | "junit" | "github" | "gitlab" |
|
||||
# "pylint" | "azure"
|
||||
{
|
||||
echo '# Output from `ruff check` for `tubesync`'
|
||||
echo '## Output from `ruff check` for `tubesync`'
|
||||
echo ''
|
||||
echo '## pylint format'
|
||||
echo '### Formats'
|
||||
for fmt in full concise grouped pylint
|
||||
do
|
||||
echo '<details>'
|
||||
echo '<summary>'"${fmt}"'</summary>'
|
||||
echo '#### '"${fmt}"' output format'
|
||||
echo ''
|
||||
echo '```'
|
||||
uvx --no-config --no-managed-python --no-progress --isolated \
|
||||
ruff check --exit-zero \
|
||||
--target-version py310 \
|
||||
--output-format pylint \
|
||||
--output-format "${fmt}" \
|
||||
--extend-select RUF100 \
|
||||
--ignore E701,E722,E731
|
||||
echo '```'
|
||||
echo '</details>'
|
||||
echo ''
|
||||
done
|
||||
} >> "${GITHUB_STEP_SUMMARY}"
|
||||
uvx --no-config --no-managed-python --no-progress --isolated \
|
||||
ruff check --exit-zero \
|
||||
|
Loading…
Reference in New Issue
Block a user