From 165ad74c578f94f962624a40dff14e1b2e23a1f8 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 23 Aug 2025 14:01:00 -0400 Subject: [PATCH] Removed reference to flake8 file exclusions. Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436. (six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.) --- docs/internals/contributing/writing-code/coding-style.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 656ce0abd5..125525c737 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/docs/internals/contributing/writing-code/coding-style.txt @@ -46,11 +46,9 @@ Python style * Unless otherwise specified, follow :pep:`8`. Use :pypi:`flake8` to check for problems in this area. Note that our - ``.flake8`` file contains some excluded files (deprecated modules we don't - care about cleaning up and some third-party code that Django vendors) as well - as some excluded errors that we don't consider as gross violations. Remember - that :pep:`8` is only a guide, so respect the style of the surrounding code - as a primary goal. + ``.flake8`` file excludes some errors that we don't consider as gross + violations. Remember that :pep:`8` is only a guide, so respect the style of + the surrounding code as a primary goal. An exception to :pep:`8` is our rules on line lengths. We allow up to 88 characters in code, as this is the line length used by ``black``.