From 893afcb9ab19568b051ce780f4e1cd45f5866d88 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 30 Aug 2024 14:25:50 -0700 Subject: [PATCH] style: Format code in special.py using linter --- aider/special.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/special.py b/aider/special.py index c80c06211..c91493053 100644 --- a/aider/special.py +++ b/aider/special.py @@ -79,11 +79,11 @@ def filter_important_files(file_paths): def is_important(file_path): file_name = os.path.basename(file_path) dir_name = os.path.dirname(file_path) - + # Check for GitHub Actions workflow files - if dir_name.endswith('.github/workflows') and file_name.endswith('.yml'): + if dir_name.endswith(".github/workflows") and file_name.endswith(".yml"): return True - + return file_name in important_files or any( file_path.endswith(f"/{name}") for name in important_files )