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]
|
||||
ignore =
|
||||
B007,
|
||||
B009,
|
||||
B010,
|
||||
B950,
|
||||
E101,
|
||||
E111,
|
||||
@ -65,11 +67,6 @@ ignore =
|
||||
E713,
|
||||
E712,
|
||||
|
||||
enable-extensions =
|
||||
M90
|
||||
|
||||
select =
|
||||
M511
|
||||
|
||||
max-line-length = 200
|
||||
exclude=.github/helper/semgrep_rules,test_*.py
|
||||
|
@ -21,9 +21,9 @@ repos:
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: [
|
||||
'flake8-mutable',
|
||||
'flake8-bugbear',
|
||||
]
|
||||
args: ['--select=M511', '--config', '.github/helper/.flake8_strict']
|
||||
args: ['--config', '.github/helper/.flake8_strict']
|
||||
exclude: ".*setup.py$"
|
||||
|
||||
- repo: https://github.com/timothycrosley/isort
|
||||
|
Loading…
Reference in New Issue
Block a user