From d8990316f98e8dd855f234ee899ebe1e6395ce80 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 6 Nov 2022 00:28:37 +0100 Subject: [PATCH] chore(pre-commit): add `pyupgrade` --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c18e8353..0fe571f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,10 @@ repos: + - repo: https://github.com/asottile/pyupgrade + rev: "v3.2.0" + hooks: + - id: pyupgrade + args: ["--py37-plus"] + - repo: https://github.com/psf/black rev: "22.8.0" hooks: