pre-commit: Add pyupgrade hook

Another day, another useful hook

Change-Id: I412827761fbdeb36702ebaf5c1b727c62e629299
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-04-23 12:23:13 +01:00
parent 877a882ece
commit a55a648c7c
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
args: ['--unsafe']
- 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: