fix(CI): Use bugbear instead of flake8-mutable

This commit is contained in:
ChillarAnand 2021-10-11 10:37:59 +05:30 committed by Ankush Menat
parent 6019f60d0a
commit 4dc17a856e
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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