We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe6daa9 commit c329d0dCopy full SHA for c329d0d
scripts/build_directory_md.py
@@ -5,14 +5,10 @@
5
6
URL_BASE = "https://github.com/TheAlgorithms/Python/blob/master"
7
8
-IGNORED_DIRS = ["scripts", "venv"]
9
-
10
11
def good_file_paths(top_dir: str = ".") -> Iterator[str]:
12
for dir_path, dir_names, filenames in os.walk(top_dir):
13
- dir_names[:] = [
14
- d for d in dir_names if d not in IGNORED_DIRS and d[0] not in "._"
15
- ]
+ dir_names[:] = [d for d in dir_names if d != "scripts" and d[0] not in "._"]
16
for filename in filenames:
17
if filename == "__init__.py":
18
continue
0 commit comments