Skip to content

Update pre-commit hooks #137591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Reduce target-version to py312
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
mhsmith and AA-Turner authored Aug 10, 2025
commit 15c384b2a65e35126f449052483214eb5cccdc86
7 changes: 5 additions & 2 deletions Lib/test/.ruff.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extend = "../../.ruff.toml" # Inherit the project-wide settings

target-version = "py313"
target-version = "py312"

extend-exclude = [
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
Expand All @@ -16,7 +16,10 @@ extend-exclude = [
]

[per-file-target-version]
# t-strings
# Type parameter defaults
"test_type_params.py" = "py313"

# Template string literals
"test_annotationlib.py" = "py314"
"test_string/test_templatelib.py" = "py314"
"test_tstring.py" = "py314"
Expand Down
Loading