Commit Graph

7 Commits

Author SHA1 Message Date
Sanjay Chari 865e85a277 Fix ansible-lint issue
There are failures with ansible-lint.
https://zuul.opendev.org/t/openstack/build/b89f36f3bd534733b2337a661bc090e5

This patch fixes the issue

Change-Id: I1249aa48837df422379e3b3daa17d3a67f1ef336
2023-06-23 15:30:52 +05:30
Masco Kaliyamoorthy 91101dbdc8 fix lint errors
Change-Id: Id857fc63f91d7673a5944637e821466e871990d3
2020-10-14 21:11:44 +05:30
Masco Kaliyamoorthy 8712f4c3be fix installation of virtualenv
Change-Id: I6a41410eba1a47f379e5c68f470261ca2639ac01
2020-04-29 05:58:46 +05:30
Charles Short c335d6439b Fix tox.ini
- Fix ansible-lint tox environment to run on python3.
- Ignore '306' lint check
- Remove python36, python35, only test on python37 (standard)

Change-Id: I75000b21dc4562d443e41ac93473a152acb53fe4
Signed-off-by: Charles Short <chucks@redhat.com>
2019-10-29 10:29:32 -04:00
aakarshg 784ff736c7 new git mirror at cloud-bulldozer
As openstack/browbeat can no longer be kept in sync,
this would let replicating the git repo to cloud-bulldozer/browbeat

Change-Id: Ia6cbc928e5bcb011ffb496454fb6248b07839226
2019-06-06 20:12:57 +01:00
agopi 6afbfc7c3f re-enabling ansible-lint rules 102 and 601
Change-Id: Ib4c31055f3243b168d943948a6ec3e6c2739f93f
2019-03-15 13:37:00 +00:00
agopi 4969f31ce1 Update ansible-lint execution
Updated ansible-lint to run via pre-commit only on ansible files.

Moved config file to its standard location, repository root, which
simplifies syncronization and usage.

Contains bumping ansible-lint to current version which also required
adding few more rule excludes. These excludes are going to be removed
one by one in follow-up changes. This gradual approach allow us to
improve code style without endless merge conflicts.

Config settings mostly based on those used by tripleo repos.

Bumping linters can now be done by running 'pre-commit autoupdate'.

Pro-commit always locks versions so there is no chance that a newer
linter (ansible-lint) would break CI.

Some documentation can be found at https://github.com/openstack/tripleo-quickstart/blob/master/doc/source/contributing.rst
and applies mostly to any project using pre-commit.

Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
Change-Id: I05eb561c4e353b5fe0bc7c6d3ab2f8ea6c6ea2f4
2019-01-29 18:36:59 +00:00