style: format important_files list for improved readability

This commit is contained in:
Paul Gauthier (aider) 2024-08-30 14:27:51 -07:00
parent d875e9fff4
commit e6b3f64823

View file

@ -10,41 +10,102 @@ def filter_important_files(file_paths):
""" """
important_files = [ important_files = [
# Version Control # Version Control
".gitignore", ".gitattributes", ".gitignore",
".gitattributes",
# Package Management and Dependencies # Package Management and Dependencies
"requirements.txt", "Pipfile", "pyproject.toml", "package.json", "package-lock.json", "requirements.txt",
"yarn.lock", "Gemfile", "Gemfile.lock", "composer.json", "composer.lock", "pom.xml", "Pipfile",
"build.gradle", "go.mod", "go.sum", "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 # Project Configuration
".editorconfig", ".eslintrc", ".pylintrc", "tsconfig.json", ".editorconfig",
".eslintrc",
".pylintrc",
"tsconfig.json",
# Build and Compilation # Build and Compilation
"Makefile", "webpack.config.js", "gulpfile.js", "Makefile",
"webpack.config.js",
"gulpfile.js",
# CI/CD # CI/CD
".travis.yml", ".gitlab-ci.yml", "Jenkinsfile", ".travis.yml",
".gitlab-ci.yml",
"Jenkinsfile",
# Docker # Docker
"Dockerfile", "docker-compose.yml", "Dockerfile",
"docker-compose.yml",
# Environment Variables # Environment Variables
".env", ".env.example", ".env",
".env.example",
# Deployment # Deployment
"Procfile", "vercel.json", "netlify.toml", "app.yaml", "Procfile",
"vercel.json",
"netlify.toml",
"app.yaml",
# Documentation # Documentation
"README.md", "CONTRIBUTING.md", "LICENSE", "CHANGELOG.md", "README.md",
"CONTRIBUTING.md",
"LICENSE",
"CHANGELOG.md",
# Language-specific # Language-specific
"setup.py", "__init__.py", "Rakefile", ".babelrc", ".npmrc", ".htaccess", "setup.py",
"__init__.py",
"Rakefile",
".babelrc",
".npmrc",
".htaccess",
# Framework-specific # Framework-specific
"manage.py", "settings.py", "routes.rb", "manage.py",
"settings.py",
"routes.rb",
# Testing # Testing
"pytest.ini", "phpunit.xml", "karma.conf.js", "pytest.ini",
"phpunit.xml",
"karma.conf.js",
# Security # Security
".npmrc", ".pypirc", ".npmrc",
".pypirc",
# New entries # New entries
"Cargo.toml", "Cargo.lock", "build.sbt", "stack.yaml", "package.yaml", "Cargo.toml",
"mix.exs", "project.clj", ".prettierrc", ".stylelintrc", "tslint.json", "Cargo.lock",
"babel.config.js", "jest.config.js", "cypress.json", "serverless.yml", "build.sbt",
"firebase.json", "now.json", "docker-compose.override.yml", "schema.sql", "stack.yaml",
"next.config.js", "nuxt.config.js", "vue.config.js", "angular.json", "package.yaml",
"swagger.yaml", "swagger.json", "openapi.yaml", "openapi.json", "mix.exs",
".flake8", ".rubocop.yml", ".scalafmt.conf", "SECURITY.md", "CODEOWNERS", "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): def is_important(file_path):