Add bugbear

This commit is contained in:
Kien Dang 2023-08-05 14:01:49 +08:00
parent 8a216b3461
commit 47004eedec

View File

@ -3,11 +3,15 @@ select = [
"W", # pycodestyle
"F", # pyflake
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
"B017", # pytest.raises(Exception) should be considered evil
"B028", # warnings.warn called without an explicit stacklevel keyword argument
"B904", # check for raise statements in exception handlers that lack a from clause
]
exclude = [