8 Commits

Author SHA1 Message Date
Sean McGinnis
493b7bf33a
Update to latest hacking for pep8 checks
This updates the version of hacking we are using for our linting and
addresses various issues that the latest version flags.

Change-Id: I95ed73411e96451bc447e1b5858b0466fb8f10a9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-07-27 16:33:03 -05:00
Hervé Beraud
2064f3e29f Remove unused imports in tools and commands
For some non obvious reasons pep8 check doesn't detect these unused imports.

Change-Id: Ie98af5a0fcf4fb8bcd05051de75a84755fbc0b88
2019-11-27 17:45:34 +01:00
Sean McGinnis
44d6736a5e
Be explicit about python3 executable
Per best practices, explicitly use the python3 executable rather than
assuming the platform with have a "python" executable that maps to
python3.

https://www.python.org/dev/peps/pep-0394/

Change-Id: I39b8a1013a891f4570f374d8faa3cfa2ecaf3347
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-10-16 09:45:29 -05:00
Doug Hellmann
7acb01f638 fix discover_branch_points for changes in get_deliverables()
Now that get_deliverables() returns Deliverable objects instead of
tuples we don't have to turn the tuples into objects.

Change-Id: Iaf13cde694692bfcee52349ec14dc7e15b6afd78
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-07 10:49:50 -05:00
Dirk Mueller
aa3d3bbc66 Upgrade hacking 1.x
Change-Id: Id54894246f3db134a3868609dbbaa60062a92c5e
2018-02-11 18:01:01 +01:00
Doug Hellmann
08e0000034 add deliverable argument to discover_branch_points.py
Change-Id: Ibdc7f32fd1ccdfc63858e2243adffc3cd54204ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-01 16:31:11 -04:00
Doug Hellmann
e7a1bce84e decode command output in discover-branch-points
Change-Id: I2d9027afbec86a260f99d38c78b71cefc50d44f6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-03 15:00:04 -05:00
Doug Hellmann
d4dfecad2f provide a tool to import existing stable branch info
Find the versions for which the stable branches were created and update
the deliverable files with the historical info.

Change-Id: Idb233e0ec78f2b7ea0f07d596d6452786f725315
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-06 09:20:48 -05:00