mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
style: Format code in special.py using linter
This commit is contained in:
parent
5c71c26ce8
commit
893afcb9ab
1 changed files with 3 additions and 3 deletions
|
@ -79,11 +79,11 @@ def filter_important_files(file_paths):
|
||||||
def is_important(file_path):
|
def is_important(file_path):
|
||||||
file_name = os.path.basename(file_path)
|
file_name = os.path.basename(file_path)
|
||||||
dir_name = os.path.dirname(file_path)
|
dir_name = os.path.dirname(file_path)
|
||||||
|
|
||||||
# Check for GitHub Actions workflow files
|
# 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 True
|
||||||
|
|
||||||
return file_name in important_files or any(
|
return file_name in important_files or any(
|
||||||
file_path.endswith(f"/{name}") for name in important_files
|
file_path.endswith(f"/{name}") for name in important_files
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue