mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Akuli <akuviljanen17@gmail.com>
49 lines
883 B
TOML
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",
|
|
]
|