mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
[5.2.x] Removed reference to flake8 file exclusions.
Obsolete since41384812ef. (six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.) Backport of165ad74c57from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
9c9ed6fd7a
commit
f8e572e843
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user