pre-commit & pyproject.toml: bumb Python version

This commit is contained in:
Aminda Suomalainen 2024-07-23 15:53:29 +03:00
parent bb21a19ba5
commit 2ab372c81a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,3 @@
# @format
# SPDX-FileCopyrightText: 2024 Aminda Suomalainen <suomalainen+git@mikaela.info>
#
# SPDX-License-Identifier: CC0-1.0
@ -12,6 +10,8 @@ ci:
default_language_version:
node: lts
# Remember .python-version and pyproject.toml !
python: 3.12.4
ruby: .ruby-version
repos:

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.12.4

View File

@ -1,16 +1,16 @@
# Black
[tool.black]
line-length = 79
target-version = ['py310']
target-version = ['py312']
preview = true
# Mypy
[tool.mypy]
python_version = '3.10'
python_version = '3.12'
# Pylint
[tool.pylint.main]
py-version = "3.10"
py-version = "3.12"
jobs = 0
[tool.pylint.basic]