pre-commit: Add pyupgrade hook
Another day, another useful hook Change-Id: I2386981aac4b6061247ec5c7acd58ba50ad4bfec Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
8b02b04572
commit
fc539d10fa
@ -21,6 +21,11 @@ repos:
|
||||
rev: v1.1.1
|
||||
hooks:
|
||||
- id: doc8
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.15.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ['--py38-plus']
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.4.0
|
||||
hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user