Files
barker/barker/pyproject.toml
T

92 lines
1.8 KiB
TOML

[tool.poetry]
name = "barker"
version = "11.7.0"
description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"]
[tool.poetry.dependencies]
python = "^3.11"
uvicorn = {extras = ["standard"], version = "^0.21.1"}
fastapi = {extras = ["all"], version = "^0.103.0"}
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
psycopg2-binary = "^2.9.7"
SQLAlchemy = "^2.0.20"
python-multipart = "^0.0.6"
PyJWT = "^2.8.0"
alembic = "^1.11.3"
itsdangerous = "^2.1.2"
python-dotenv = "^1.0.0"
pydantic = {extras = ["dotenv"], version = "^2.3.0"}
starlette = "^0.27.0"
arq = "^0.25.0"
aiohttp = "^3.8.5"
cryptography = "^41.0.3"
gunicorn = "^21.2.0"
[tool.poetry.group.dev.dependencies]
# flake8 = "^6.1.0"
black = "^23.7.0"
# isort = {extras = ["toml"], version = "^5.12.0"}
pre-commit = "^3.3.3"
mypy = "^1.5.1"
types-python-jose = "^3.3.4.8"
tomli = "^2.0.1"
ruff = "^0.0.286"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Assume Python 3.11.
target-version = "py311"
line-length = 120
exclude = [
".git",
"__pycache__",
"__init__.py",
".mypy_cache",
".pytest_cache",
]
ignore = []
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001"
]
# Note: Ruff supports a top-level `src` option in lieu of isort's `src_paths` setting.
# src = ["barker"]
# Only allow autofix behavior for `E` and `F` rules.
fixable = ["I"]
[tool.ruff.isort]
# include-trailing-comma = true
lines-after-imports = 2
lines-between-types = 1
# use-parentheses = true
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
)/
'''