From 2dbd064410fbfbe2b8e5053f446b6aa56906e533 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Oct 2021 18:29:40 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-autopep8: v1.4.4 → v1.5.7](https://github.com/pre-commit/mirrors-autopep8/compare/v1.4.4...v1.5.7) - [github.com/asottile/reorder_python_imports: v1.6.0 → v2.6.0](https://github.com/asottile/reorder_python_imports/compare/v1.6.0...v2.6.0) - [github.com/Lucas-C/pre-commit-hooks: v1.1.6 → v1.1.10](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.1.6...v1.1.10) - [github.com/asottile/pyupgrade: v1.21.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v1.21.0...v2.29.0) - [github.com/asottile/add-trailing-comma: v1.4.1 → v2.1.0](https://github.com/asottile/add-trailing-comma/compare/v1.4.1...v2.1.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32f1368..eec7441 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,25 +18,25 @@ repos: - id: fix-encoding-pragma args: ['--remove'] - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.4.4 + rev: v1.5.7 hooks: - id: autopep8 - repo: https://github.com/asottile/reorder_python_imports - rev: v1.6.0 + rev: v2.6.0 hooks: - id: reorder-python-imports args: ['--py3-plus'] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.6 + rev: v1.1.10 hooks: - id: remove-tabs - repo: https://github.com/asottile/pyupgrade - rev: v1.21.0 + rev: v2.29.0 hooks: - id: pyupgrade args: ['--py3-plus'] - repo: https://github.com/asottile/add-trailing-comma - rev: v1.4.1 + rev: v2.1.0 hooks: - id: add-trailing-comma args: ['--py36-plus'] From 198799642e6447dbfa70d5fee59d7515f0654627 Mon Sep 17 00:00:00 2001 From: Chris Kuehl Date: Mon, 11 Oct 2021 14:56:33 -0500 Subject: [PATCH 2/2] Use new flake8 hook --- .pre-commit-config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eec7441..2a4e471 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.3 + rev: v4.0.1 hooks: - id: check-added-large-files - id: check-docstring-first @@ -11,16 +11,17 @@ repos: - id: detect-private-key - id: double-quote-string-fixer - id: end-of-file-fixer - - id: flake8 - id: name-tests-test - id: requirements-txt-fixer - id: trailing-whitespace - - id: fix-encoding-pragma - args: ['--remove'] - repo: https://github.com/pre-commit/mirrors-autopep8 rev: v1.5.7 hooks: - id: autopep8 +- repo: https://github.com/pycqa/flake8 + rev: 4.0.1 + hooks: + - id: flake8 - repo: https://github.com/asottile/reorder_python_imports rev: v2.6.0 hooks: