Upgrade pre-commit hooks

Use `pre-commit autoupdate` to upgrade, and follow the message from `pre-commit-hooks` to move to the official `flake8` hook.
This commit is contained in:
Adam Johnson
2021-03-19 15:09:49 +00:00
committed by Bruno Oliveira
parent 1637dc18d0
commit f02aa70c95
6 changed files with 51 additions and 35 deletions

View File

@@ -1,20 +1,23 @@
repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
args: [--safe, --quiet, --target-version, py35]
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
rev: v2.10.1
hooks:
- id: pyupgrade
args: [--py3-plus]