You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a configs/ directory in the repository with nested pyproject.toml or ruff.toml files. This structure allows users to sync curated domain-specific configurations out of the box using the --path flag.
We have broken out the creation and discussion of these specific configurations into their own sub-issues. We strongly encourage contributors to join the discussion on these issues, propose rules/settings they find valuable in their daily work, and submit PRs for new domain-specific configs!
💡 Have an idea for a new domain config? We encourage contributors to open new issues proposing entirely new domains (e.g., django, aws-lambda, etc.), along with what makes their configurations unique.
Enabled rules for libraries like NumPy, Pandas, etc. (e.g., NPY, PD).
Specific settings for jupyter notebooks, if applicable.
Goal
These examples should be actually useful for their respective domains and will serve as high-quality snippets to pull into our documentation. Users will be able to sync using: ruff-sync https://github.com/Kilo59/ruff-sync --path configs/fastapi
Create a
configs/directory in the repository with nestedpyproject.tomlorruff.tomlfiles. This structure allows users to sync curated domain-specific configurations out of the box using the--pathflag.Proposed Structure
Domain Configurations (Sub-Issues)
We have broken out the creation and discussion of these specific configurations into their own sub-issues. We strongly encourage contributors to join the discussion on these issues, propose rules/settings they find valuable in their daily work, and submit PRs for new domain-specific configs!
💡 Have an idea for a new domain config? We encourage contributors to open new issues proposing entirely new domains (e.g.,
django,aws-lambda, etc.), along with what makes their configurations unique.Kitchen Sink (Done in Example Config: Kitchen Sink #85):
configs/kitchen-sink/ruff.toml[lint.isort]and[format]).FastAPI/Web App:
configs/fastapi/ruff.tomlANNfor annotations,T20for print statements,UPfor upgrade).[lint.flake8-fastapi](if applicable) and typing settings.Data Science/Data Engineering:
configs/data-science-engineering/ruff.tomlNPY,PD).Goal
These examples should be actually useful for their respective domains and will serve as high-quality snippets to pull into our documentation. Users will be able to sync using:
ruff-sync https://github.com/Kilo59/ruff-sync --path configs/fastapi