py312-fix

This commit is contained in:
Untone 2024-02-15 12:23:25 +03:00
parent 125fa2b86d
commit d9d4667c6a

View File

@ -9,7 +9,7 @@ description = "notifier server for discours.io"
authors = ["discours.io devteam"]
[tool.poetry.dependencies]
python = "^3.9"
python = "^3.12"
SQLAlchemy = "^2.0.22"
psycopg2-binary = "^2.9.9"
redis = {extras = ["hiredis"], version = "^5.0.1"}
@ -33,7 +33,7 @@ pytest-cov = "^4.1.0"
[tool.black]
line-length = 120
target-version = ['py39']
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
@ -92,7 +92,7 @@ typings = {}
mergeTypeStubPackages = false
[tool.mypy]
python_version = "3.11"
python_version = "3.12"
warn_unused_configs = true
plugins = ["mypy_sqlalchemy.plugin", "strawberry.ext.mypy_plugin"]
@ -103,7 +103,7 @@ plugins = ["mypy_sqlalchemy.plugin", "strawberry.ext.mypy_plugin"]
select = ["E4", "E7", "E9", "F"]
ignore = []
line-length = 120
target-version = "py39"
target-version = "py312"