From 2aeed6925380124c60d953fe841367ebf4f944bb Mon Sep 17 00:00:00 2001 From: FantasqueX Date: Thu, 25 Jul 2024 06:28:43 +0800 Subject: [PATCH] Update flake8 pre-commit hook to 7.1.0 (#389) 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