Files
typeshed/pyproject.toml
Nipunn Koorapati 7beaebff40 Bump to mypy-protobuf 3.3.0 (#8612)
* Bump to mypy-protobuf 3.3.0

* Remove some ignores for formatting
2022-08-26 07:24:11 +01:00

36 lines
803 B
TOML

[tool.black]
line_length = 130
target_version = ["py310"]
skip_magic_trailing_comma = true
# Exclude protobuf files because they have long line lengths
# Ideally, we could configure black to allow longer line lengths
# for just these files, but doesn't seem possible yet.
force-exclude = ".*_pb2.pyi"
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 130
skip = [".git", ".github", ".venv"]
extra_standard_library = [
"typing_extensions",
"_typeshed",
# Extra modules not recognized by isort
"_ast",
"_collections_abc",
"_compression",
"_csv",
"_curses",
"_heapq",
"_markupbase",
"_random",
"_threading_local",
"_tkinter",
"_tracemalloc",
"_warnings",
"_weakrefset",
"genericpath",
"opcode",
"pyexpat",
]