mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
pre-commit & pyproject.toml: bumb Python version
This commit is contained in:
parent
bb21a19ba5
commit
2ab372c81a
4
.pre-commit-config.yaml
vendored
4
.pre-commit-config.yaml
vendored
@ -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
1
.python-version
Normal file
@ -0,0 +1 @@
|
||||
3.12.4
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user