Import order clean-up
Reorder imports by full module path Change-Id: I50bc2a5ff6cea939049fed8066471b15e84adbe6
This commit is contained in:
parent
078b9ea0d9
commit
1a5a479041
13
HACKING.rst
13
HACKING.rst
|
@ -30,6 +30,19 @@ Imports
|
|||
-------
|
||||
- Do not make relative imports
|
||||
- Order your imports by the full module path
|
||||
|
||||
Example::
|
||||
|
||||
The following imports,
|
||||
|
||||
from quantum.api import networks
|
||||
from quantum import wsgi
|
||||
|
||||
are considered equivalent for ordering purposes to
|
||||
|
||||
import quantum.api.networks
|
||||
import quantum.wsgi
|
||||
|
||||
- Organize your imports according to the following template
|
||||
|
||||
Example::
|
||||
|
|
Loading…
Reference in New Issue