mirror of
https://github.com/django/django.git
synced 2025-03-03 21:55:04 +00:00
This branch migrates setuptools configuration from setup.py/setup.cfg to pyproject.toml. In order to ensure that the generated binary files have consistent casing (both the tarball and the wheel), setuptools version is limited to ">=61.0.0,<69.3.0". Configuration for flake8 was moved to a dedicated .flake8 file since it cannot be configured via pyproject.toml. Also, __pycache__ exclusion was removed from MANIFEST and the extras/Makefile was replaced with a simpler build command. Co-authored-by: Nick Pope <nick@nickpope.me.uk> Backport of 4686541691dbe986f58ac87630c3b7a04db4ff93 from main.
10 lines
277 B
INI
10 lines
277 B
INI
[flake8]
|
|
exclude = build,.git,.tox,./tests/.env
|
|
extend-ignore = E203
|
|
max-line-length = 88
|
|
per-file-ignores =
|
|
django/core/cache/backends/filebased.py:W601
|
|
django/core/cache/backends/base.py:W601
|
|
django/core/cache/backends/redis.py:W601
|
|
tests/cache/tests.py:W601
|