Move Ruff unsafe-fixes from pre-commit to config (#11783)

This commit is contained in:
Avasam authored and GitHub committed 2024-04-18 18:44:51 +01:00
1 parent ec2430a42b
commit d26f125160
2 files changed
+3 -6

No files matched your search

+3
View File
@@ -58,6 +58,9 @@ select = [
"PYI055", # multiple `type[T]` usages in a union
"PYI058", # use `Iterator` as the return type for `__iter__` methods
]
extend-safe-fixes = [
"UP036", # Remove unnecessary `sys.version_info` blocks
]
ignore = [
###
# Rules that can conflict with the formatter (Black)