1
0
mirror of https://github.com/django/django.git synced 2025-09-18 23:19:12 +00:00

[5.2.x] Removed reference to flake8 file exclusions.

Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436.
(six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
Backport of 165ad74c578f94f962624a40dff14e1b2e23a1f8 from main
This commit is contained in:
Jacob Walls 2025-08-23 14:01:00 -04:00 committed by Mariusz Felisiak
parent 9c9ed6fd7a
commit f8e572e843

View File

@ -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