Files
typeshed/pyproject.toml
Jelle Zijlstra 1f1bc6f27c add pre-commit config (#6341)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-11-19 16:46:51 +02:00

49 lines
883 B
TOML

[tool.black]
line_length = 130
target_version = ["py37"]
force-exclude = ".*_pb2.pyi"
skip_magic_trailing_comma = true
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 130
skip_glob = "*_pb2.pyi"
extra_standard_library = [
"typing_extensions",
"_typeshed",
# Extra modules not recognized by isort
"_ast",
"_collections_abc",
"_compression",
"_csv",
"_curses",
"_markupbase",
"_random",
"_tkinter",
"_tracemalloc",
"_warnings",
"_weakrefset",
"genericpath",
"opcode",
"pyexpat",
# Python 2 modules
"__builtin__",
"cookielib",
"cStringIO",
"httplib",
"mimetools",
"rfc822",
"thread",
"urllib2",
"urlparse",
"BaseHTTPServer",
"Queue",
"SimpleHTTPServer",
"SocketServer",
"StringIO",
"UserDict",
"UserList",
"UserString",
]