You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Django style guide and Two Scoops of Django suggest sorting imports in the following way:
Standard library imports
Imports from core Django.
Imports from third-party apps including those unrelated to Django.
4. Imports from other Django apps in your project (not sure we can generate anything for this)
Local imports
We can use isort to do this sorting automatically. This commit should add an isort dependency in requirements_dev.txt, add an isort section in setup.cfg that sorts the imports correctly, and include instructions in CONTRIBUTING.rst for running isort before contributing.
The text was updated successfully, but these errors were encountered:
Django style guide and Two Scoops of Django suggest sorting imports in the following way:
4. Imports from other Django apps in your project (not sure we can generate anything for this)
We can use isort to do this sorting automatically. This commit should add an isort dependency in
requirements_dev.txt
, add anisort
section in setup.cfg that sorts the imports correctly, and include instructions inCONTRIBUTING.rst
for running isort before contributing.The text was updated successfully, but these errors were encountered: