We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de5a13 commit 262d916Copy full SHA for 262d916
tests/test_package_generation.py
@@ -21,14 +21,14 @@ def get_all_files_folders(root_path: pathlib.Path) -> set[pathlib.Path]:
21
file_set: set[pathlib.Path] = set()
22
for dirpath, _, filenames in os.walk(root_path):
23
dirpath_path = pathlib.Path(dirpath).relative_to(root_path)
24
- if dirpath_path.name in ["__pycache__"]:
+ if dirpath_path.name == "__pycache__":
25
continue
26
27
# Add this directory
28
file_set.update((dirpath_path,))
29
# Add any files in it
30
for filename in filenames:
31
- if filename in [".DS_Store"]:
+ if filename == ".DS_Store":
32
33
file_set.update((dirpath_path / filename,))
34
0 commit comments