Skip to content
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks"
This reverts commit dea2614.
  • Loading branch information
tyralla committed Mar 19, 2024
commit 214f51a79329415a5917805d467364d0641fc9ea
4 changes: 1 addition & 3 deletions mypy/find_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ def find_sources_in_dir(self, path: str) -> list[BuildSource]:
names = sorted(self.fscache.listdir(path), key=keyfunc)
for name in names:
# Skip certain names altogether
if (
name == "__pycache__" or name == "site-packages" or name == "node_modules"
) or name.startswith("."):
if (name == "__pycache__" or name == "site-packages" or name == "node_modules") or name.startswith("."):
continue
subpath = os.path.join(path, name)

Expand Down