52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[tool.poetry]
|
|
name = "swag-shop"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = ["Thastertyn <thastertyn@gmail.com>"]
|
|
readme = "README.md"
|
|
package-mode = false
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.12"
|
|
fastapi = {extras = ["standard"], version = "^0.115.8"}
|
|
sqlalchemy = "^2.0.37"
|
|
python-dotenv = "^1.0.1"
|
|
mysql-connector = "^2.2.9"
|
|
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
|
|
pyjwt = "^2.10.1"
|
|
pydantic-settings = "^2.8.1"
|
|
sqlmodel = "^0.0.24"
|
|
psycopg2-binary = "^2.9.10"
|
|
|
|
[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
|
|
]
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pylint = "^3.3.4"
|
|
autopep8 = "^2.3.2"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.autopep8]
|
|
max_line_length = 200
|
|
ignore = "E501"
|
|
in_place = true
|
|
recursive = true |