mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
style: format important_files list for improved readability
This commit is contained in:
parent
d875e9fff4
commit
e6b3f64823
1 changed files with 83 additions and 22 deletions
105
aider/special.py
105
aider/special.py
|
@ -10,41 +10,102 @@ def filter_important_files(file_paths):
|
|||
"""
|
||||
important_files = [
|
||||
# Version Control
|
||||
".gitignore", ".gitattributes",
|
||||
".gitignore",
|
||||
".gitattributes",
|
||||
# Package Management and Dependencies
|
||||
"requirements.txt", "Pipfile", "pyproject.toml", "package.json", "package-lock.json",
|
||||
"yarn.lock", "Gemfile", "Gemfile.lock", "composer.json", "composer.lock", "pom.xml",
|
||||
"build.gradle", "go.mod", "go.sum",
|
||||
"requirements.txt",
|
||||
"Pipfile",
|
||||
"pyproject.toml",
|
||||
"package.json",
|
||||
"package-lock.json",
|
||||
"yarn.lock",
|
||||
"Gemfile",
|
||||
"Gemfile.lock",
|
||||
"composer.json",
|
||||
"composer.lock",
|
||||
"pom.xml",
|
||||
"build.gradle",
|
||||
"go.mod",
|
||||
"go.sum",
|
||||
# Project Configuration
|
||||
".editorconfig", ".eslintrc", ".pylintrc", "tsconfig.json",
|
||||
".editorconfig",
|
||||
".eslintrc",
|
||||
".pylintrc",
|
||||
"tsconfig.json",
|
||||
# Build and Compilation
|
||||
"Makefile", "webpack.config.js", "gulpfile.js",
|
||||
"Makefile",
|
||||
"webpack.config.js",
|
||||
"gulpfile.js",
|
||||
# CI/CD
|
||||
".travis.yml", ".gitlab-ci.yml", "Jenkinsfile",
|
||||
".travis.yml",
|
||||
".gitlab-ci.yml",
|
||||
"Jenkinsfile",
|
||||
# Docker
|
||||
"Dockerfile", "docker-compose.yml",
|
||||
"Dockerfile",
|
||||
"docker-compose.yml",
|
||||
# Environment Variables
|
||||
".env", ".env.example",
|
||||
".env",
|
||||
".env.example",
|
||||
# Deployment
|
||||
"Procfile", "vercel.json", "netlify.toml", "app.yaml",
|
||||
"Procfile",
|
||||
"vercel.json",
|
||||
"netlify.toml",
|
||||
"app.yaml",
|
||||
# Documentation
|
||||
"README.md", "CONTRIBUTING.md", "LICENSE", "CHANGELOG.md",
|
||||
"README.md",
|
||||
"CONTRIBUTING.md",
|
||||
"LICENSE",
|
||||
"CHANGELOG.md",
|
||||
# Language-specific
|
||||
"setup.py", "__init__.py", "Rakefile", ".babelrc", ".npmrc", ".htaccess",
|
||||
"setup.py",
|
||||
"__init__.py",
|
||||
"Rakefile",
|
||||
".babelrc",
|
||||
".npmrc",
|
||||
".htaccess",
|
||||
# Framework-specific
|
||||
"manage.py", "settings.py", "routes.rb",
|
||||
"manage.py",
|
||||
"settings.py",
|
||||
"routes.rb",
|
||||
# Testing
|
||||
"pytest.ini", "phpunit.xml", "karma.conf.js",
|
||||
"pytest.ini",
|
||||
"phpunit.xml",
|
||||
"karma.conf.js",
|
||||
# Security
|
||||
".npmrc", ".pypirc",
|
||||
".npmrc",
|
||||
".pypirc",
|
||||
# New entries
|
||||
"Cargo.toml", "Cargo.lock", "build.sbt", "stack.yaml", "package.yaml",
|
||||
"mix.exs", "project.clj", ".prettierrc", ".stylelintrc", "tslint.json",
|
||||
"babel.config.js", "jest.config.js", "cypress.json", "serverless.yml",
|
||||
"firebase.json", "now.json", "docker-compose.override.yml", "schema.sql",
|
||||
"next.config.js", "nuxt.config.js", "vue.config.js", "angular.json",
|
||||
"swagger.yaml", "swagger.json", "openapi.yaml", "openapi.json",
|
||||
".flake8", ".rubocop.yml", ".scalafmt.conf", "SECURITY.md", "CODEOWNERS",
|
||||
"Cargo.toml",
|
||||
"Cargo.lock",
|
||||
"build.sbt",
|
||||
"stack.yaml",
|
||||
"package.yaml",
|
||||
"mix.exs",
|
||||
"project.clj",
|
||||
".prettierrc",
|
||||
".stylelintrc",
|
||||
"tslint.json",
|
||||
"babel.config.js",
|
||||
"jest.config.js",
|
||||
"cypress.json",
|
||||
"serverless.yml",
|
||||
"firebase.json",
|
||||
"now.json",
|
||||
"docker-compose.override.yml",
|
||||
"schema.sql",
|
||||
"next.config.js",
|
||||
"nuxt.config.js",
|
||||
"vue.config.js",
|
||||
"angular.json",
|
||||
"swagger.yaml",
|
||||
"swagger.json",
|
||||
"openapi.yaml",
|
||||
"openapi.json",
|
||||
".flake8",
|
||||
".rubocop.yml",
|
||||
".scalafmt.conf",
|
||||
"SECURITY.md",
|
||||
"CODEOWNERS",
|
||||
]
|
||||
|
||||
def is_important(file_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue