mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +08:00
Enable Ruff flake8-builtins (A) (#13729)
This commit is contained in:
1 parent
43385c455f
commit
83ee2a2dc6
3 files changed
+6
-3
No files matched your search
@@ -330,7 +330,7 @@ class PackageDependencies(NamedTuple):
|
||||
|
||||
@cache
|
||||
def get_pypi_name_to_typeshed_name_mapping() -> Mapping[str, str]:
|
||||
return {read_metadata(dir.name).stub_distribution: dir.name for dir in STUBS_PATH.iterdir()}
|
||||
return {read_metadata(stub_dir.name).stub_distribution: stub_dir.name for stub_dir in STUBS_PATH.iterdir()}
|
||||
|
||||
|
||||
@cache
|
||||
|
||||
Reference in new issue
Block a user