5a85b444d0
In reviews we usually check import grouping but it is boring. By using flake8-import-order plugin, we can avoid this. It enforces loose checking so it sounds good to use it. This flake8 plugin is already used in tempest. Note that flake8-import-order version is pinned to avoid unexpected breakage of pep8 job. Setup for unit tests of hacking rules is tweaked to disable flake8-import-order checks. This extension assumes an actual file exists and causes hacking rule unit tests. application-import-names needs to be specified in tox.ini to ensure application imports are placed after third-party imports. Change-Id: I4d6703c7cbad6ed0845d0605ecf494b0b3a8f154 |
||
---|---|---|
.. | ||
api_tests | ||
test_data | ||
__init__.py | ||
helpers.py | ||
settings.py |