
- Set up FastAPI application structure - Create Task model with SQLAlchemy - Implement CRUD operations for tasks - Add API endpoints for tasks with filtering options - Configure Alembic for database migrations - Add health check endpoint - Configure Ruff for linting - Add comprehensive documentation in README.md
31 lines
660 B
TOML
31 lines
660 B
TOML
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
# Enable pycodestyle (E), Pyflakes (F), isort (I), and pydocstyle (D)
|
|
select = ["E", "F", "I", "D"]
|
|
ignore = ["D203", "D212"]
|
|
|
|
# Allow autofix for all enabled rules
|
|
fixable = ["A", "B", "C", "D", "E", "F", "I"]
|
|
unfixable = []
|
|
|
|
# Exclude a variety of commonly ignored directories
|
|
exclude = [
|
|
".git",
|
|
".ruff_cache",
|
|
"__pycache__",
|
|
"migrations",
|
|
"venv",
|
|
".env",
|
|
".venv",
|
|
]
|
|
|
|
# Allow unused variables when underscore-prefixed
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["app"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google" |