diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ca583b..87bfcdd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,11 @@ repos: types: [python] language: system pass_filenames: false + +- repo: https://github.com/asottile/pyupgrade + rev: v3.18.0 + hooks: + - id: pyupgrade + args: + - --py3-plus + - --keep-runtime-typing