Skip to content

Commit 5d78683

Browse files
acul71web3-bot
andauthored
fix: update pyupgrade to v3.21.2 for Python 3.14 compatibility (#25)
Fixes #24 Updated pyupgrade from v3.15.0 to v3.21.2 to resolve Python 3.14 compatibility issues in linting. The previous version had a bug with Python 3.14's tokenize module that caused TypeError when processing files. - Updated .pre-commit-config.yaml - Added newsfragment for issue #24 - All Python 3.14 lint tests now pass Co-authored-by: web3-bot <[email protected]>
1 parent 297089f commit 5d78683

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: end-of-file-fixer
99
- id: trailing-whitespace
1010
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.15.0
11+
rev: v3.21.2
1212
hooks:
1313
- id: pyupgrade
1414
args: [--py310-plus]

newsfragments/24.internal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated pyupgrade to v3.21.2 to fix Python 3.14 compatibility in linting checks.

0 commit comments

Comments
 (0)