mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 07:14:12 +08:00
Enable ruff's isort rules on files generated using mypy-protobuf (#10939)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -46,9 +46,6 @@ select = [
|
||||
"UP039", # don't use parens after a class definition with no bases
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"*_pb2.pyi" = ["I"] # Skip isort rules for files generated with mypy-protobuf
|
||||
|
||||
[tool.ruff.isort]
|
||||
split-on-trailing-comma = false
|
||||
combine-as-imports = true
|
||||
|
||||
Reference in New Issue
Block a user