[openstack-dev] [requirements][packaging] Normalizing requirements file

Haïkel hguemar at fedoraproject.org
Wed Jun 22 04:45:31 UTC 2016


Hi,

as a packager, I spend a lot of time to scrutinize the requirements
repo, and I find it easier to read if specifiers are ordered.
So in a quick glance, you can check which is the min version required
and max one without trying to search them among other specifiers.
I scripted a basic linter to do that (which also normalize comments to
PEP8 standards)

Initial review is here:
https://review.openstack.org/#/c/332623/

script is available here;
https://gist.github.com/hguemar/7a17bf93f6c8bd8ae5ec34bf9ab311a1

Your thoughts?

Regards,
H.



More information about the OpenStack-dev mailing list