notifier/pyproject.toml
Untone 2eaefaa62f
All checks were successful
deploy / deploy (push) Successful in 1m18s
schema-fix
2023-11-26 21:21:14 +03:00

75 lines
1.7 KiB
TOML

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "discoursio-notifier"
version = "0.0.2"
description = "notifier server for discours.io"
authors = ["discours.io devteam"]
[tool.poetry.dependencies]
python = "^3.12"
SQLAlchemy = "^2.0.22"
httpx = "^0.25.0"
psycopg2-binary = "^2.9.9"
redis = {extras = ["hiredis"], version = "^5.0.1"}
uvicorn = "^0.24.0.post1"
strawberry-graphql = {extras = ["asgi", "debug-server"], version = "^0.215.1" }
sentry-sdk = "^1.37.1"
strawberry-sqlalchemy-mapper = "^0.3.1"
[tool.poetry.dev-dependencies]
pytest = "^7.4.2"
black = { version = "^23.9.1", python = ">=3.12" }
mypy = { version = "^1.7", python = ">=3.12" }
setuptools = "^69.0.2"
[tool.black]
line-length = 120
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
[tool.pyright]
include = ["."]
exclude = ["**/__pycache__"]
ignore = []
defineConstant = { DEBUG = true }
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "312"
pythonPlatform = "Linux"
executionEnvironments = []
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
plugins = ["mypy_sqlalchemy.plugin", "strawberry.ext.mypy_plugin"]