Skip to content

Commit 2ab372c

Browse files
committed
pre-commit & pyproject.toml: bumb Python version
1 parent bb21a19 commit 2ab372c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# @format
2-
31
# SPDX-FileCopyrightText: 2024 Aminda Suomalainen <suomalainen+git@mikaela.info>
42
#
53
# SPDX-License-Identifier: CC0-1.0
@@ -12,6 +10,8 @@ ci:
1210

1311
default_language_version:
1412
node: lts
13+
# Remember .python-version and pyproject.toml !
14+
python: 3.12.4
1515
ruby: .ruby-version
1616

1717
repos:

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12.4

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Black
22
[tool.black]
33
line-length = 79
4-
target-version = ['py310']
4+
target-version = ['py312']
55
preview = true
66

77
# Mypy
88
[tool.mypy]
9-
python_version = '3.10'
9+
python_version = '3.12'
1010

1111
# Pylint
1212
[tool.pylint.main]
13-
py-version = "3.10"
13+
py-version = "3.12"
1414
jobs = 0
1515

1616
[tool.pylint.basic]

0 commit comments

Comments
 (0)