diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62422c4dd..d48a99fb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,6 +24,13 @@ repos: - id: mixed-line-ending - id: trailing-whitespace + - repo: https://github.com/asottile/pyupgrade + rev: v3.2.2 + hooks: + - id: pyupgrade + args: [--py37-plus] + exclude: ^(api/.*/migrations/.*) + - repo: https://github.com/psf/black rev: 22.10.0 hooks: