From 07c0fac4b80d786b79ab378b7c8e6e1c07bda438 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 20 Aug 2022 12:31:42 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/_pytest/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py index d0f0402ba..d753a9054 100644 --- a/src/_pytest/config/__init__.py +++ b/src/_pytest/config/__init__.py @@ -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: