-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure flake8 rules are enabled on the CI runner. Use `ruff` to accelerate flake8 checking. Increase the McCabe max complexity score from 15 to 30 because `proximal/algorithms/pock_chambolle.py` contains `pycuda` code.
- Loading branch information
1 parent
2ba692e
commit 84dcdb2
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,4 @@ | |
eng.quit() | ||
|
||
# Wait until done | ||
raw_input("Press Enter to continue...") | ||
input("Press Enter to continue...") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[tool.ruff] | ||
line-length=127 | ||
|
||
[tool.ruff.lint] | ||
select=["E9", "F63", "F7", "F82", "C90"] | ||
|
||
[tool.ruff.lint.mccabe] | ||
max-complexity=30 |