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:
Stephen Finucane 2024-04-23 12:11:27 +01:00
parent 8b02b04572
commit fc539d10fa
1 changed files with 5 additions and 0 deletions

View File

@ -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: