pre-commit: Add pyupgrade.
Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
parent
14c182717c
commit
aed190a9a8
1 changed files with 6 additions and 0 deletions
|
|
@ -28,3 +28,9 @@ repos:
|
|||
args: [ --fix ]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.20.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [ --py39-plus ]
|
||||
exclude: src/uwwvb.py # CircuitPython prevaling standard!
|
||||
|
|
|
|||
Loading…
Reference in a new issue