mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 19:09:58 +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 install-dev EXTRAS=OCR,plotting
|
||||||
make deps-test EXTRAS=OCR,plotting
|
make deps-test EXTRAS=OCR,plotting
|
||||||
ls -l models_*
|
ls -l models_*
|
||||||
|
- name: Lint with ruff
|
||||||
|
uses: astral-sh/ruff-action@v3
|
||||||
|
with:
|
||||||
|
src: "./src"
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: make coverage PYTEST_ARGS="-vv --junitxml=pytest.xml"
|
run: make coverage PYTEST_ARGS="-vv --junitxml=pytest.xml"
|
||||||
- name: Get coverage results
|
- name: Get coverage results
|
||||||
|
|
|
@ -66,3 +66,6 @@ ignore = [
|
||||||
# disable bare except
|
# disable bare except
|
||||||
"E722",
|
"E722",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff.format]
|
||||||
|
quote-style = "preserve"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue