Rearrange the imports to meet the style guide

This also includes `from __future__ import absolute_import`
in every file so that the imports are consistent in Python 2 and 3.
The Python 2 tests fail without this.
This commit is contained in:
mprahl
2020-01-06 11:19:47 -05:00
parent f1488967b2
commit af9505b0e1
95 changed files with 411 additions and 279 deletions

View File

@@ -91,10 +91,13 @@ Also, the format of the docstrings should be in the
:raises TypeError: if a or b are not integers
Additionally, the imports should be ordered by standard library, third-party, then local. For example:
Additionally, the imports should be ordered by standard library, third-party, then local.
``from __future__ import absolute_import`` should always be included so that imports are consistent
in Python 2 and Python 3. For example:
::
from __future__ import absolute_import
import math
import os