Clear up tool.ruff.lint.isort.extra-standard-library (#13070)

Clear up extra-standard-library
This commit is contained in:
Avasam
2024-11-22 16:58:32 -05:00
committed by GitHub
parent e1c74f08f1
commit 055857c318

View File

@@ -115,54 +115,14 @@ ignore = [
split-on-trailing-comma = false
combine-as-imports = true
extra-standard-library = [
# Group these with stdlib
"_typeshed",
"typing_extensions",
# Extra modules not recognized by Ruff/isort
"_ast",
"_bisect",
"_bootlocale",
"_codecs",
"_collections_abc",
"_compat_pickle",
"_compression",
"_csv",
"_ctypes",
"_curses",
"_decimal",
"_dummy_thread",
"_dummy_threading",
"_heapq",
"_imp",
"_json",
"_locale",
"_lsprof",
"_markupbase",
"_msi",
"_operator",
"_osx_support",
"_posixsubprocess",
"_py_abc",
"_pydecimal",
"_random",
"_sitebuiltins",
"_socket",
"_sqlite3",
"_ssl",
"_stat",
"_thread",
"_threading_local",
"_tkinter",
"_tracemalloc",
"_warnings",
"_weakref",
"_weakrefset",
"_winapi",
"genericpath",
"opcode",
"pyexpat",
# Extra modules not recognized by Ruff
# Added in Python 3.9
"zoneinfo",
]
known-first-party = ["ts_utils", "_utils"]
known-first-party = ["_utils", "ts_utils"]
[tool.typeshed]
oldest_supported_python = "3.8"