Skip to content

Commit 0f99f6b

Browse files
committed
Upgrade Python to 3.12
1 parent 07a4e47 commit 0f99f6b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.11"
16+
python-version: "3.12"
1717
cache: "pip"
1818
cache-dependency-path: requirements.*.txt
1919

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
default_language_version:
3-
python: python3.11
3+
python: python3.12
44
repos:
55
- repo: https://github.com/adamchainz/django-upgrade
66
rev: 1.24.0
@@ -23,4 +23,4 @@ repos:
2323
hooks:
2424
- id: pyupgrade
2525
args:
26-
- --py311-plus
26+
- --py312-plus

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ python_files = [
3737
extend-exclude = [
3838
".env",
3939
]
40-
target-version = "py311"
40+
target-version = "py312"
4141

4242
[tool.ruff.lint]
4343
extend-select = [

0 commit comments

Comments
 (0)