mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 10:59:55 +02:00
CI: lint with ruff
This commit is contained in:
parent
a144026b27
commit
e1b56d97da
2 changed files with 7 additions and 0 deletions
4
.github/workflows/test-eynollah.yml
vendored
4
.github/workflows/test-eynollah.yml
vendored
|
@ -67,6 +67,10 @@ jobs:
|
|||
make install-dev EXTRAS=OCR,plotting
|
||||
make deps-test EXTRAS=OCR,plotting
|
||||
ls -l models_*
|
||||
- name: Lint with ruff
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
src: "./src"
|
||||
- name: Test with pytest
|
||||
run: make coverage PYTEST_ARGS="-vv --junitxml=pytest.xml"
|
||||
- name: Get coverage results
|
||||
|
|
|
@ -66,3 +66,6 @@ ignore = [
|
|||
# disable bare except
|
||||
"E722",
|
||||
]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "preserve"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue