From 77bd2ae6bee7d8ae8577eacab5fc5ece594e4a82 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 23:53:48 +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/asottile/pyupgrade: v2.20.0 → v2.21.0](https://github.com/asottile/pyupgrade/compare/v2.20.0...v2.21.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 383c10e..7a9b74a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: black args: [--line-length=79] - repo: https://github.com/asottile/pyupgrade - rev: v2.20.0 + rev: v2.21.0 hooks: - id: pyupgrade args: [--py36-plus] From 6a560568237ffb8b917ba6f18ff2a052b21968f4 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 12 Jul 2021 20:28:31 -0400 Subject: [PATCH 2/2] ignore N818 (error naming) since our exceptions do not match it --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 821c5ce..c2f3151 100644 --- a/tox.ini +++ b/tox.ini @@ -126,7 +126,7 @@ commands = # defaults to selecting all other errors so we do not need select=E,F,W,I,D # Once Flake8 3.0 is released and in a good state, we can use both and it will # work well \o/ -ignore = D203, W503, E203 +ignore = D203, W503, E203, N818 exclude = .tox, .git,