p311
This commit is contained in:
parent
404a8256d9
commit
c363b5478e
|
@ -11,8 +11,6 @@ jobs:
|
|||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user