Merge "Add pyupgrade hook to pre-commit config"

This commit is contained in:
Zuul 2024-04-15 10:46:29 +00:00 committed by Gerrit Code Review
commit 603d437aef
1 changed files with 5 additions and 0 deletions

View File

@ -30,3 +30,8 @@ repos:
entry: flake8
files: '^.*\.py$'
exclude: '^(doc|releasenotes|tools)/.*$'
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
hooks:
- id: pyupgrade
args: [--py38-plus]