mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-10 16:22:20 +03:00
Adjust ruff config to be compatible with ruff-format
https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
This commit is contained in:
parent
c5d984e419
commit
02d7100ded
|
@ -13,6 +13,7 @@ ignore = [
|
|||
"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
|
||||
"W191", # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
|
||||
]
|
||||
|
||||
exclude = [
|
||||
|
@ -29,5 +30,4 @@ target-version = "py38"
|
|||
[isort]
|
||||
known-first-party = ["graphene", "graphene-django"]
|
||||
known-local-folder = ["cookbook"]
|
||||
force-wrap-aliases = true
|
||||
combine-as-imports = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user