Skip to content
Snippets Groups Projects
Verified Commit 6ab165f4 authored by bbhtt's avatar bbhtt
Browse files

ci: Add a job to lint python scripts using ruff

parent 2e7bc11b
No related branches found
No related tags found
1 merge request!63ci: Add script to validate repo before Flathub push
......@@ -78,6 +78,15 @@ test_aarch64:
- .builder_aarch64
- .build_template
lint:
stage: build
script:
- ruff format --check utils/*.py
- ruff check --output-format=gitlab utils/*.py
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
needs: []
publish:
stage: publish
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment