ci/linter: run ruff for all python scripts
This commit is contained in:
@@ -63,16 +63,16 @@ jobs:
|
||||
- name: Run ruff format
|
||||
run: |
|
||||
mkosi box -- ruff --version
|
||||
if ! mkosi box -- ruff format --check src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/test/generate-sym-test.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py
|
||||
if ! mkosi box -- ruff format --check
|
||||
then
|
||||
echo "Please run 'ruff format' on the above files or apply the diffs below manually"
|
||||
mkosi box -- ruff format --check --quiet --diff src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/test/generate-sym-test.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py
|
||||
mkosi box -- ruff format --check --quiet --diff
|
||||
fi
|
||||
|
||||
- name: Run ruff check
|
||||
run: |
|
||||
mkosi box -- ruff --version
|
||||
mkosi box -- ruff check src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/test/generate-sym-test.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py
|
||||
mkosi box -- ruff check
|
||||
|
||||
- name: Configure meson
|
||||
run: mkosi box -- env CC=clang CXX=clang++ meson setup build
|
||||
|
||||
Reference in New Issue
Block a user