Skip to content

Commit 70ed27c

Browse files
committed
Upgrade Python 3.13
1 parent 0b1cdc0 commit 70ed27c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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.12"
16+
python-version: "3.13"
1717
cache: "pip"
1818
cache-dependency-path: requirements.*.txt
1919

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
default_language_version:
3-
python: python3.12
3+
python: python3.13
44
repos:
55
- repo: https://github.com/adamchainz/django-upgrade
66
rev: 1.24.0
@@ -14,13 +14,13 @@ repos:
1414
- id: black
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.4.4
17+
rev: v0.11.7
1818
hooks:
1919
- id: ruff
2020

2121
- repo: https://github.com/asottile/pyupgrade
22-
rev: v3.15.2
22+
rev: v3.19.1
2323
hooks:
2424
- id: pyupgrade
2525
args:
26-
- --py312-plus
26+
- --py313-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 = "py312"
40+
target-version = "py313"
4141

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

0 commit comments

Comments
 (0)