Skip to content

Commit 10d5d55

Browse files
committed
Further ruff fixes
1 parent 6efefd6 commit 10d5d55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Lint with ruff
3838
run: |
3939
# stop the build if there are Python syntax errors or undefined names
40-
pipenv run ruff check . --select=E9,F63,F7,F82 --show-source
40+
pipenv run ruff check . --select=E9,F63,F7,F82 --output-format=full
4141
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4242
pipenv run ruff check . --exit-zero
4343
- name: Test with pytest

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ exclude = '''
2121

2222
[tool.ruff]
2323
line-length = 127
24+
25+
[tool.ruff.lint]
2426
select = ["E", "F", "B"]
2527
exclude = [
2628
"docs"
2729
]
28-
29-
[tool.ruff.mccabe]
30-
max-complexity = 10
30+
mccabe.max-complexity = 10

0 commit comments

Comments
 (0)