Repository navigation
Commit 891659d
committed
chore(pre-commit): bump pyupgrade to v3.22.0 for Python 3.14
pyupgrade v3.21.0 calls tokenize.cookie_re.match() on str tokens.
In Python 3.14 that pattern is bytes, so the hook raises TypeError on
any file with a leading comment. pre-commit.ci now runs Python 3.14
by default, which is why it is red on every PR opened since early 2026
while the GitHub Actions lint job (3.11) stays green. Fixed upstream
in 3.21.1; v3.22.0 matches the rev in the pending autoupdate (Bluetooth-Devices#131).1 parent e9acdf5 commit 891659d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments