Comment 1 for bug 1786286

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/583984
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=1c6cfa1e4669d107d76e58b9cfdca3437add8dc6
Submitter: Zuul
Branch: master

commit 1c6cfa1e4669d107d76e58b9cfdca3437add8dc6
Author: Sorin Sbarnea <email address hidden>
Date: Thu Jul 19 15:40:32 2018 +0100

    Run bashate via pre-commit

    Migrates bashate linting task to pre-commit in order to allow fast
    and transparent execution before uploading changes to gerrit.

    Other linters can be run as well, including flake8 and ansible-linter.
    This also lowers the footprint on developer machines because each
    linter/version is stored only once on disk, regardless how many
    repositories are using it.

    Only action needed for enabling pre-commit as a developer is to
    run `pip install pre-commit`, everything else is done transparently
    after.

    Partial-Bug: #1786286
    Change-Id: I6ad834bbfbaf7645c542e4f922e89bc4449247c3