Skip to content

Commit e5d3c62

Browse files
committed
all_python_files: add docstring
1 parent 9692628 commit e5d3c62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def convert(self, cli_value, param, ctx):
6262

6363

6464
def all_python_files():
65+
"""
66+
Get all python files from current directory and subdirectories
67+
"""
6568
exclude_dirs = [".tox", "venv", ".pytest_cache", "site-packages", ".git"]
6669
for root, _, files in os.walk(os.path.abspath(os.curdir)):
6770
if [_dir for _dir in exclude_dirs if _dir in root]:

0 commit comments

Comments
 (0)