
- Set up FastAPI application with proper project structure - Configure SQLite database with SQLAlchemy ORM - Implement user model with CRUD operations - Add Alembic for database migrations - Create comprehensive API endpoints for user management - Configure CORS middleware for cross-origin requests - Add health check endpoint and service information - Set up Ruff for code linting and formatting - Update README with complete documentation Co-Authored-By: BackendIM <noreply@backendim.com>
25 lines
563 B
TOML
25 lines
563 B
TOML
[tool.ruff]
|
|
target-version = "py39"
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"E501", # line too long, handled by black
|
|
"B008", # do not perform function calls in argument defaults
|
|
"C901", # too complex
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-third-party = ["fastapi", "pydantic", "starlette"] |