From d9d4667c6a734b4af52b758f8cf5f3247eb6a494 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 15 Feb 2024 12:23:25 +0300 Subject: [PATCH] py312-fix --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 10eb547..8707c12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"