Update the content about Import Format
Following by https://git.openstack.org/cgit/openstack-dev/hacking/tree/HACKING.rst#n71 Change-Id: I2f32d773c12d484e8c0e435a78a3fe16d0eeae03
This commit is contained in:
@@ -177,18 +177,21 @@ or
|
|||||||
Standardize Import Format
|
Standardize Import Format
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
.. _`Import Order Guide`: https://docs.openstack.org/hacking/latest/user/hacking.html#imports
|
More information about Import Format, see `Import Order Guide
|
||||||
|
<https://docs.openstack.org/hacking/latest/user/hacking.html#imports>`__.
|
||||||
|
|
||||||
The import order shows below:
|
The import order shows below:
|
||||||
|
|
||||||
* {{stdlib imports in human alphabetical order}}
|
.. code-block:: none
|
||||||
* \n
|
|
||||||
* {{third-party lib imports in human alphabetical order}}
|
{{stdlib imports in human alphabetical order}}
|
||||||
* \n
|
\n
|
||||||
* {{project imports in human alphabetical order}}
|
{{third-party lib imports in human alphabetical order}}
|
||||||
* \n
|
\n
|
||||||
* \n
|
{{project imports in human alphabetical order}}
|
||||||
* {{begin your code}}
|
\n
|
||||||
|
\n
|
||||||
|
{{begin your code}}
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user