diff --git a/project_count_line.py b/project_count_line.py index 0f1ac26..cde6f59 100644 --- a/project_count_line.py +++ b/project_count_line.py @@ -16,7 +16,7 @@ def count_lines_in_python_files(directory): # Проходим по всем директориям и файлам в заданной директории for root, dirs, files in os.walk(directory): # Исключаем определенные директории - if any(excluded in root for excluded in ['.venv', '.git', '.idea', '__pycache__']): + if any(excluded in root for excluded in ['.venv', '.env', '.git', '.idea', '__pycache__']): continue for file in files: