Skip to content

Commit dea2614

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 207c56e commit dea2614

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mypy/find_sources.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ def find_sources_in_dir(self, path: str) -> list[BuildSource]:
106106
names = sorted(self.fscache.listdir(path), key=keyfunc)
107107
for name in names:
108108
# Skip certain names altogether
109-
if (name == "__pycache__" or name == "site-packages" or name == "node_modules") or name.startswith("."):
109+
if (
110+
name == "__pycache__" or name == "site-packages" or name == "node_modules"
111+
) or name.startswith("."):
110112
continue
111113
subpath = os.path.join(path, name)
112114

0 commit comments

Comments
 (0)