Code Not Conforming To PEP8 Standards #7786
-
Hi all, I have been an avid user of DRF in my projects but only decided to start contributing to it just recently. And the first place I decided to check, of course, was for typos and non-conforming codes The contributing page says Changes should broadly follow the PEP8 style conventions, and we recommend you set up your editor to automatically indicate non-conforming styles. However, when I pasted the code from the serializers.py page into the PEP8 online checker, it brought back a lot of line too long errors. E.g.
Is this to be ignored or do I go-ahead to work on shortening the codes on each line? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Xceptions — yes, that's ignored. See the django-rest-framework/setup.cfg Lines 8 to 10 in ec29ff8 |
Beta Was this translation helpful? Give feedback.
Hi @Xceptions — yes, that's ignored. See the
flake8
config here:django-rest-framework/setup.cfg
Lines 8 to 10 in ec29ff8