-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Description
There are new flake8, pep8, twine, and transifex-client libraries in PyPI. DRF should use them.
In order to use them, the serializers
module will have to no longer import *
from relations
and fields
.
- Get rid of the
import *
syntax inserializers
- Update the PyPI packages
Where we currently use[We're not doing this]serializers.Example
, we will now usefields.Example
orrelations.Example
ifExample
is a field or a relation that otherwise would have passed through theserializers
module- Create a
.flake8
file with the equivalent ofFLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']
and take it out ofruntests.py
See #4613 for more information
Metadata
Metadata
Assignees
Labels
No labels