fix(CI): Use bugbear instead of flake8-mutable
This commit is contained in:
parent
6019f60d0a
commit
4dc17a856e
7
.github/helper/.flake8_strict
vendored
7
.github/helper/.flake8_strict
vendored
@ -1,6 +1,8 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
ignore =
|
ignore =
|
||||||
B007,
|
B007,
|
||||||
|
B009,
|
||||||
|
B010,
|
||||||
B950,
|
B950,
|
||||||
E101,
|
E101,
|
||||||
E111,
|
E111,
|
||||||
@ -65,11 +67,6 @@ ignore =
|
|||||||
E713,
|
E713,
|
||||||
E712,
|
E712,
|
||||||
|
|
||||||
enable-extensions =
|
|
||||||
M90
|
|
||||||
|
|
||||||
select =
|
|
||||||
M511
|
|
||||||
|
|
||||||
max-line-length = 200
|
max-line-length = 200
|
||||||
exclude=.github/helper/semgrep_rules,test_*.py
|
exclude=.github/helper/semgrep_rules,test_*.py
|
||||||
|
@ -21,9 +21,9 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies: [
|
additional_dependencies: [
|
||||||
'flake8-mutable',
|
'flake8-bugbear',
|
||||||
]
|
]
|
||||||
args: ['--select=M511', '--config', '.github/helper/.flake8_strict']
|
args: ['--config', '.github/helper/.flake8_strict']
|
||||||
exclude: ".*setup.py$"
|
exclude: ".*setup.py$"
|
||||||
|
|
||||||
- repo: https://github.com/timothycrosley/isort
|
- repo: https://github.com/timothycrosley/isort
|
||||||
|
Loading…
Reference in New Issue
Block a user