-
Notifications
You must be signed in to change notification settings - Fork 722
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #770 from akx/ruff-minimal
Replace flake8 + isort + bandit with ruff
- Loading branch information
Showing
6 changed files
with
36 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[tool.ruff] | ||
line-length = 167 | ||
|
||
ignore = [ | ||
"E402", # TODO: enable | ||
"E711", # TODO: enable | ||
"E711", # TODO: enable | ||
"E712", # TODO: enable | ||
"E721", # TODO: enable | ||
"S101", # TODO: enable | ||
"S110", # TODO: enable | ||
"S324", # TODO: enable | ||
] | ||
extend-select = [ | ||
"S", # Bandit | ||
"E9", | ||
"F63", | ||
"F7", | ||
"F82", | ||
"I", | ||
] | ||
|
||
[tool.ruff.per-file-ignores] | ||
"{test,tests,examples}/**/*.py" = [ | ||
"E741", | ||
"F401", | ||
"F811", | ||
"F841", | ||
"I", | ||
"S", | ||
] |
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 |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
""" | ||
|
||
import struct | ||
import sys | ||
|
||
from .packettypes import PacketTypes | ||
|
||
|
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
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