commit | 26d462a33437abafa2420938893f13f5aea2a024 | [log] [tgz] |
---|---|---|
author | David Lord <davidism@gmail.com> | Tue Jan 28 23:02:14 2020 -0800 |
committer | David Lord <davidism@gmail.com> | Wed Feb 05 08:44:19 2020 -0800 |
tree | 26a714a684ef5ee9e65e208406080e3235050f2f | |
parent | 8468d3a98f35f6a06bb5416c0f245a7b5a67fb8e [diff] |
add pyupgrade pre-commit hook
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a341a8..a982b5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml
@@ -1,4 +1,9 @@ repos: + - repo: https://github.com/asottile/pyupgrade + rev: v1.26.2 + hooks: + - id: pyupgrade + args: ["--py36-plus"] - repo: https://github.com/asottile/reorder_python_imports rev: v1.9.0 hooks: