restapiservice-pad9p1/pyproject.toml
Automated Action e0b4ac8ba6 Create a REST API with FastAPI and SQLite
- Setup FastAPI project structure with main.py and requirements.txt
- Implement SQLAlchemy ORM with SQLite database
- Create Item model with CRUD operations
- Implement health endpoint for monitoring
- Setup Alembic for database migrations
- Add comprehensive documentation in README.md
- Configure Ruff for code linting
2025-05-23 10:10:10 +00:00

25 lines
509 B
TOML

[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I"]
# Ignore specific rules
ignore = [
"E501", # Line too long
"W293", # Blank line contains whitespace - docstrings often have this
]
# Exclude files and directories
exclude = [
".git",
".venv",
"venv",
"__pycache__",
"migrations",
]
[tool.ruff.lint.isort]
known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic", "starlette"]