2020-10-07 15:14:05 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "brewman"
|
|
|
|
version = "7.5.0"
|
|
|
|
description = "Accounting plus inventory management for a restaurant."
|
|
|
|
authors = ["tanshu <git@tanshu.com>"]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.8"
|
|
|
|
uvicorn = "^0.12.1"
|
|
|
|
fastapi = "^0.61.1"
|
|
|
|
python-jose = {extras = ["cryptography"], version = "^3.2.0"}
|
|
|
|
passlib = {extras = ["bcrypt"], version = "^1.7.3"}
|
|
|
|
psycopg2-binary = "^2.8.6"
|
|
|
|
SQLAlchemy = "^1.3.19"
|
|
|
|
python-multipart = "^0.0.5"
|
|
|
|
PyJWT = "^1.7.1"
|
|
|
|
alembic = "^1.4.3"
|
|
|
|
itsdangerous = "^1.1.0"
|
|
|
|
python-dotenv = "^0.14.0"
|
|
|
|
pydantic = {extras = ["dotenv"], version = "^1.6.1"}
|
|
|
|
starlette = "^0.13.6"
|
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
flake8 = "^3.8.4"
|
|
|
|
black = "^20.8b1"
|
2020-10-07 15:18:43 +00:00
|
|
|
isort = {extras = ["toml"], version = "^5.5.4"}
|
2020-10-07 15:14:05 +00:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
2020-10-07 15:18:43 +00:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
atomic = true
|
|
|
|
include_trailing_comma = true
|
|
|
|
lines_after_imports = 2
|
|
|
|
lines_between_types = 1
|
|
|
|
use_parentheses = true
|
|
|
|
src_paths = ["poetry", "tests"]
|
|
|
|
skip_glob = ["*/setup.py"]
|
|
|
|
filter_files = true
|
|
|
|
known_first_party = "poetry"
|
|
|
|
|
|
|
|
|
2020-10-07 15:14:05 +00:00
|
|
|
[tool.black]
|
2020-10-07 15:18:43 +00:00
|
|
|
line-length = 88
|
|
|
|
include = '\.pyi?$'
|
|
|
|
exclude = '''
|
|
|
|
/(
|
|
|
|
\.eggs
|
|
|
|
| \.git
|
|
|
|
| \.hg
|
|
|
|
| \.mypy_cache
|
|
|
|
| \.tox
|
|
|
|
| \.venv
|
|
|
|
| _build
|
|
|
|
| buck-out
|
|
|
|
| build
|
|
|
|
| dist
|
|
|
|
| tests/.*/setup.py
|
|
|
|
)/
|
|
|
|
'''
|