From a8a456ce1444dd3f00227f03a9699dd49428750b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 21:31:08 +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.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3) --- .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 9ee655a..a338eda 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.37.2 + rev: v2.37.3 hooks: - id: pyupgrade args: [ --py38-plus ] From 1a52aa67297bfd02133a0348972852885f421b21 Mon Sep 17 00:00:00 2001 From: Reto Trappitsch Date: Tue, 2 Aug 2022 17:31:03 +0200 Subject: [PATCH 2/2] fix flake8 to <5 to work with current flake8-bandit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d4490ee..d2baa8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ description-file = "README.rst" dev = [ "black==22.1.0", "darglint>=1.5.1", - "flake8", + "flake8>=4,<5", "flake8-bandit", "flake8-black", "flake8-bugbear",