p311
Some checks failed
deploy to v2 / test (push) Failing after 3s
deploy to v2 / deploy (push) Has been skipped

This commit is contained in:
Untone 2024-02-05 16:11:21 +03:00
parent 404a8256d9
commit c363b5478e
2 changed files with 5 additions and 7 deletions

View File

@ -11,8 +11,6 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |

View File

@ -9,7 +9,7 @@ description = "notifier server for discours.io"
authors = ["discours.io devteam"]
[tool.poetry.dependencies]
python = "^3.12"
python = "^3.11"
SQLAlchemy = "^2.0.22"
psycopg2-binary = "^2.9.9"
redis = {extras = ["hiredis"], version = "^5.0.1"}
@ -32,7 +32,7 @@ pytest-asyncio = "^0.23.4"
[tool.black]
line-length = 120
target-version = ['py312']
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
@ -74,7 +74,7 @@ reportMissingImports = false
reportMissingModuleSource = "warning"
reportImportCycles = "warning"
maxMemoryForLargeFile = 4096
pythonVersion = "3.12"
pythonVersion = "3.11"
autoImportCompletions = true
useVirtualEnv = true
typeCheckingMode = "basic"
@ -91,7 +91,7 @@ typings = {}
mergeTypeStubPackages = false
[tool.mypy]
python_version = "3.12"
python_version = "3.11"
warn_unused_configs = true
plugins = ["mypy_sqlalchemy.plugin", "strawberry.ext.mypy_plugin"]
@ -102,7 +102,7 @@ plugins = ["mypy_sqlalchemy.plugin", "strawberry.ext.mypy_plugin"]
select = ["E4", "E7", "E9", "F"]
ignore = []
line-length = 120
target-version = "py312"
target-version = "py311"