Skip to content

Commit 40af1fc

Browse files
committed
ruff check and remove files added back from main
1 parent f2dbab1 commit 40af1fc

File tree

3 files changed

+1
-20
lines changed

3 files changed

+1
-20
lines changed

stubs/setuptools/setuptools/_distutils/compilers/C/unix.pyi

Lines changed: 0 additions & 16 deletions
This file was deleted.

stubs/setuptools/setuptools/_distutils/unixccompiler.pyi

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/check_typeshed_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def is_exposed_module(relative_to: Path, path: Path) -> bool:
9494
relative_path = path.relative_to(relative_to)
9595
if relative_path.parts[0] in {"_msvccompiler.py", "__init__.py"}:
9696
return True
97-
return not any([part in {"tests", "compat"} or part.startswith("_") for part in relative_path.parts])
97+
return not any((part in {"tests", "compat"}) or part.startswith("_") for part in relative_path.parts)
9898

9999
def all_setuptools_distutils_relative_paths(path: Path) -> set[Path]:
100100
return {file.relative_to(path).with_suffix(".pyi") for file in path.rglob("*.py") if is_exposed_module(path, file)}

0 commit comments

Comments
 (0)