
- Created FastAPI application with SQLite database - Implemented models for inventory items, categories, suppliers, and transactions - Added authentication system with JWT tokens - Implemented CRUD operations for all models - Set up Alembic for database migrations - Added comprehensive API documentation - Configured Ruff for code linting
30 lines
652 B
TOML
30 lines
652 B
TOML
[tool.ruff]
|
|
target-version = "py38"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "B", "I"]
|
|
ignore = ["B008", "E501", "B904", "E402"]
|
|
|
|
# Exclude a variety of commonly ignored directories.
|
|
exclude = [
|
|
".git",
|
|
".ruff_cache",
|
|
"__pycache__",
|
|
"venv",
|
|
".env",
|
|
".venv",
|
|
"env",
|
|
"dist",
|
|
]
|
|
|
|
# Allow unused variables when underscore-prefixed.
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"] # Ignore unused imports in __init__.py files
|
|
|
|
[tool.ruff.lint.isort]
|
|
force-single-line = false
|
|
known-first-party = ["app"]
|
|
force-sort-within-sections = true |