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:
chenxing 2018-05-22 15:36:19 +08:00
parent f7e4d31820
commit 819663d134

View File

@ -177,18 +177,21 @@ or
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:
* {{stdlib imports in human alphabetical order}}
* \n
* {{third-party lib imports in human alphabetical order}}
* \n
* {{project imports in human alphabetical order}}
* \n
* \n
* {{begin your code}}
.. code-block:: none
{{stdlib imports in human alphabetical order}}
\n
{{third-party lib imports in human alphabetical order}}
\n
{{project imports in human alphabetical order}}
\n
\n
{{begin your code}}
Example
~~~~~~~