init-strawberry
Some checks failed
deploy / deploy (push) Failing after 1m9s

This commit is contained in:
2023-11-26 13:18:57 +03:00
parent 8ef12063b0
commit 62c8d51c5d
13 changed files with 207 additions and 485 deletions

View File

@@ -14,16 +14,14 @@ SQLAlchemy = "^2.0.22"
httpx = "^0.25.0"
psycopg2-binary = "^2.9.9"
redis = {extras = ["hiredis"], version = "^5.0.1"}
sentry-sdk = "^1.32.0"
gql = {git = "https://github.com/graphql-python/gql.git", rev = "master"}
ariadne = {git = "https://github.com/tonyrewin/ariadne.git", rev = "master"}
starlette = {git = "https://github.com/encode/starlette.git", rev = "master"}
uvicorn = "^0.24.0.post1"
strawberry-graphql = { extras = ["asgi"], version = "^0.215.1" }
sentry-sdk = "^1.37.1"
[tool.poetry.dev-dependencies]
pytest = "^7.4.2"
black = { version = "^23.9.1", python = ">=3.12" }
ruff = { version = "^0.1.0", python = ">=3.12" }
mypy = { version = "^1.7", python = ">=3.12" }
[tool.black]
line-length = 120
@@ -57,12 +55,18 @@ use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
[tool.ruff]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F"]
[tool.pyright]
include = ["orm", "resolvers"]
exclude = ["**/__pycache__"]
ignore = []
line-length = 120
target-version = "py312"
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"]