[build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] name = "todoapi" version = "0.1.0" description = "FastAPI Todo API" readme = "README.md" requires-python = ">=3.9" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] [tool.ruff] # Same as Black. line-length = 88 indent-width = 4 # Target Python 3.9. target-version = "py39" [tool.ruff.lint] # Enable pycodestyle ('E'), Pyflakes ('F'), isort ('I') select = ["E", "F", "I"] ignore = [] # 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"] [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic"]