diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-08-23 14:01:00 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-08-23 20:06:54 +0200 |
| commit | f8e572e843b037dea9c79bcecd7b9626b2b4ceba (patch) | |
| tree | 4204430cea2e2c5169757f5be5030ab650972817 /docs/internals/contributing/writing-code/coding-style.txt | |
| parent | 9c9ed6fd7a8399113a18b979c8cd6f04cfbfa30b (diff) | |
[5.2.x] Removed reference to flake8 file exclusions.
Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436.
(six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
Backport of 165ad74c578f94f962624a40dff14e1b2e23a1f8 from main
Diffstat (limited to 'docs/internals/contributing/writing-code/coding-style.txt')
| -rw-r--r-- | docs/internals/contributing/writing-code/coding-style.txt | 8 |
1 files 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 c7502985b6..be3118f96e 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. Don't limit lines of code to 79 characters if it means the code looks significantly uglier or is |
