[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-08-20 12:31:42 +00:00
parent cfa51788a6
commit 07c0fac4b8
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ def _iter_rewritable_modules(package_files: Iterable[str]) -> Iterator[str]:
module_name, _ = os.path.splitext(fn)
# we ignore "setup.py" at the root of the distribution
# as well as editable installation finder modules made by setuptools
if module_name != "setup" and not module_name.startswith('__editable__'):
if module_name != "setup" and not module_name.startswith("__editable__"):
seen_some = True
yield module_name
elif is_package: