mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-02 03:13:13 +03:00
Add bugbear
This commit is contained in:
parent
8a216b3461
commit
47004eedec
|
@ -3,11 +3,15 @@ select = [
|
||||||
"W", # pycodestyle
|
"W", # pycodestyle
|
||||||
"F", # pyflake
|
"F", # pyflake
|
||||||
"I", # isort
|
"I", # isort
|
||||||
|
"B", # flake8-bugbear
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
]
|
]
|
||||||
|
|
||||||
ignore = [
|
ignore = [
|
||||||
"E501", # line-too-long
|
"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 = [
|
exclude = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user