-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The flake8 whitelist and blacklist got out of sync during refactoring. This patch updates both lists, fixes the resulting lints and simplifies the flake8 configuration.
- Loading branch information
1 parent
174d462
commit a5abc29
Showing
8 changed files
with
14 additions
and
23 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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
# template suggested by `black` | ||
|
||
[flake8] | ||
ignore = E203, E266, E501, W503 | ||
max-line-length = 80 | ||
# max-complexity = 18 | ||
# temporary increase due to solo.key.update complexity | ||
max-complexity = 30 | ||
select = B,C,E,F,W,T4,B9 | ||
extend-exclude = pynitrokey/nethsm/client,pynitrokey/nk3/bootloader/nrf52_upload | ||
# E203,E701 suggested by black, see: | ||
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8 | ||
# E501 (line length) disabled as this is handled by black which takes better care of edge cases | ||
extend-ignore = E203,E501,E701 | ||
max-complexity = 18 | ||
extend-exclude = pynitrokey/trussed/bootloader/nrf52_upload |
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
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
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