This fixes all the warnings emitted by flake8, mostly involving
qualified imports, import grouping, and indentation.
Change-Id: Ia45839f3e65e15a34e2a2793fd21b83e4fc891d7
Needed-By: I158ea10f104549dd4f0f3ff777b39feb5886642e
* update test requirements with what's in g-r
* Remove hard-coded dependencies from tox.ini as update-requirements
does not edit tox.ini
* Remove requirements.txt as it is redundant (sdist already has it)
* Fix up all the issues identified by flake8
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: I0508bd74edda20fbf844e7303c9b44b80ff794ef
Use parentheses for `print`, 0o for an octal literal, "as" for except.
import print_function from __future__.
Change-Id: Ie76910c3e0a03e4a103f612639a1b74e84f182bb
By default do nothing, force user to specify --target to do the
targeting of completed blueprints and --clean to do the cleaning of
incomplete blueprints.
Change-Id: If2e13eaee230515d44cbd76fa3675ba0d8343cbf
First version of adjust_blueprints.py was reporting all blueprints,
including those that were already properly milestone-targeted and
with the series goal set.
This new version separates milestone-targeting from series-goal-
setting tasks, and only mention the real modifications about to be
done. Since you can't read the series goal field from the API, this
is done by retrieving the series-targeted blueprints list and
comparing the sets.
Change-Id: I20d252c0f33fa27f037f54a8a9761f9b2f315b85
Fix a case where adjust_blueprint.py was failing to properly target
a given blueprint to a milestone. This was due to Launchpad API fun,
with proposeGoal() reloading the bp object...
Change-Id: Ie190213cb5a2b8e8f116d098a45977339e9851d9
adjust_blueprints.py is meant to be run just before milestone tagging,
to target recently-implemented blueprints to the milestone (and set the
series goal), and clear the milestone target from any incomplete
blueprint that may still have it.
It is part of the new "report rather than predict" approach to blueprint
tracking.
Change-Id: I84d185da32fa0c0caeadd29ad9a7fc010953d080