From 4cbbdf021a87f9be538d1671f002fa5e9bc6f98b Mon Sep 17 00:00:00 2001 From: sergey Date: Tue, 11 Feb 2025 00:01:12 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=BF=D1=80=D0=BE=D1=81=D1=87=D0=B5=D1=82?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project_count_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: