diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5b3fa8fe..f88170eb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: