53e13b08f1
This commit adds flake8-import-order to global-requirements.txt. With this library, we can check whether imports order is along with the hacking import order template[1] automatically. Of course, we can check import orders by manual. However it is not fun and we sometimes mistake. And we have H306 rule for checking import orders but it only checks alphabetic order not for stdlibs or not. [1] http://docs.openstack.org/developer/hacking/#import-order-template * Is the library actively maintained? Yes. This has been released constantly and maintained by Python Code Quality Authority. http://meta.pycqa.org/en/latest/management.html * Is the library good code? Yes. It's simple enough. * Is the library python 3 compatible? Yes. * Is the library license compatible? Yes, the library is licensed as MIT. * Is the library already packaged in the distros we target (Ubuntu latest / Fedora latest)? No. It's on pypi. * Is the function of this library already covered by other libraries in global-requirements.txt? No. * Is the library required for OpenStack project or related dev or infrastructure setup? Which? Tempest at this point: Iff75ebec42b295870edd1c04001adfb17460a682 Change-Id: Ia2140f5566ce169b076ffa5c9ebfbdbfc41e5bed
12 lines
178 B
Plaintext
12 lines
178 B
Plaintext
# linters - each project may have a different version with loose convergence
|
|
# over time.
|
|
flake8
|
|
flake8_docstrings
|
|
flake8-import-order
|
|
hacking
|
|
mccabe
|
|
pep257
|
|
pep8
|
|
pyflakes
|
|
pylint
|