swag-shop/backend/pyproject.toml

43 lines
1.1 KiB
TOML

[project]
name = "swag-shop"
version = "0.1.0"
description = ""
authors = [{ name = "Thastertyn", email = "thastertyn@gmail.com" }]
readme = "../README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi[standard]>=0.115.8,<0.116.0",
"python-dotenv>=1.0.1,<2.0.0",
"sqlalchemy>=2.0.37,<3.0.0",
"passlib[bcrypt]>=1.7.4,<2.0.0",
"pyjwt>=2.10.1,<3.0.0",
"pydantic-settings>=2.8.1,<3.0.0",
"sqlmodel>=0.0.24,<0.1.0",
"psycopg2-binary>=2.9.10,<3.0.0",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
"UP007",
]
[tool.autopep8]
max_line_length = 200
ignore = "E501"
in_place = true
recursive = true