From fa07bcb356a63293a6cf71d01a7d15a0f6b83529 Mon Sep 17 00:00:00 2001 From: JamesParrott <80779630+JamesParrott@users.noreply.github.com> Date: Thu, 15 Jun 2023 11:45:19 +0100 Subject: [PATCH] Update .pre-commit-config.yaml Make Flake8 accept Black's reformatting, avoiding a doom loop when Black occasionally lengthens a line you just shortened, above Flake8 (PEP 8?) limit. https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8 --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98afc14e0..f3f7e2f57 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,6 +43,7 @@ repos: rev: 6.0.0 hooks: - id: flake8 + args: ['--max-line-length=88'] ci: autoupdate_schedule: weekly