pre-commit update: flake8/ruff/pyupgrade/black/isort (#8813)

This commit is contained in:
skshetry
2023-01-15 14:56:54 +05:45
committed by GitHub
parent da27174e02
commit b0052aa666
8 changed files with 30 additions and 23 deletions
+10 -4
View File
@@ -1,10 +1,16 @@
[flake8]
ignore=
E203, # Whitespace before ':'
E266, # Too many leading '#' for block comment
W503, # Line break occurred before a binary operator
P1, # unindexed parameters in the str.format, see:
# Whitespace before ':'
E203
# Too many leading '#' for block comment
E266
# Line break occurred before a binary operator
W503
# unindexed parameters in the str.format, see:
# https://pypi.org/project/flake8-string-format/
P1
# use `!r` instead of surrounding by quotes
B028
max_line_length = 79
max-complexity = 10
select = B,C,E,F,W,T4,B902,T,P