mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 17:18:30 +08:00
Move Ruff unsafe-fixes from pre-commit to config (#11783)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user