From fbc5f03a270082c1a1d899c4a8e19c752ded5e8a Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Thu, 25 Jul 2024 00:17:25 +0800 Subject: [PATCH] Update flake8 pre-commit hook to 7.1.0 This patch resolves lint failure when using Python 3.12. ``` questionary/prompts/common.py:282:24: E713 test for membership should be 'not in' questionary/prompts/common.py:300:45: E713 test for membership should be 'not in' ``` Flake8 adds Python 3.12 support in 6.1.0. --- .pre-commit-config.yaml | 2 +- 1 | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c746bd3..5146e510 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - "--profile=black" - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.1.0 hooks: - id: flake8 args: ["--max-line-length", "120", "--max-doc-length", "140"] diff --git a/1 b/1 new file mode 100644 index 00000000..e69de29b