Skip to content

Commit

Permalink
chore: move to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Oct 7, 2023
1 parent 2214e44 commit d3c0cef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks

default_language_version:
python: python3.11
python: python3.12

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -24,7 +24,7 @@ repos:
rev: v3.14.0
hooks:
- id: pyupgrade
args: ["--py311-plus"]
args: ["--py312-plus"]
exclude: pep600_compliance/tools/calculate_symbol_versions.py

- repo: https://github.com/psf/black-pre-commit-mirror
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# No build-system here, used for tool configuration only

[tool.black]
target-version = ["py311"]
target-version = ["py312"]

[tool.isort]
profile = "black"
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is autogenerated by pip-compile with python 3.11
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# nox -s update_requirements
#
Expand Down

0 comments on commit d3c0cef

Please sign in to comment.