Skip to content

Commit c4c74ee

Browse files
committed
Ignore ruff warnings that sacrifice readability
1 parent 00981cf commit c4c74ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test_and_lint_python_package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ jobs:
9999

100100
- name: Run ruff
101101
if: ${{ inputs.run-ruff }}
102-
run: uv run --frozen ruff check .
102+
# SIM102 is ignored because it enforces compact if-statements which is less readable
103+
# RUF010 is ignored because it switches str() with a less readable format
104+
run: uv run --frozen ruff check --ignore SIM102 --ignore RUF010 .
103105
working-directory: ${{ inputs.project-path }}
104106

105107
- name: Run isort

0 commit comments

Comments
 (0)