- pylint -f parseable --disable=locally-disabled functest | \
- tee pylint.out | sed -ne '/Raw metrics/,//p'"
- pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
+ pylint -f parseable \
+ --ignore-imports=y \
+ --disable=locally-disabled functest | tee pylint.out"
+ pylint --reports=n --errors-only functest
+ pylint --disable=locally-disabled \
+ --disable=duplicate-code \
+ --ignore-imports=y --reports=n {[testenv:pylint]modules}
+
+[testenv:yamllint]
+basepython = python2.7
+files =
+ .travis.yml
+ docker
+ functest/ci
+ functest/opnfv_tests/openstack/rally/blacklist.yaml
+ functest/opnfv_tests/openstack/rally/rally_jobs.yaml
+ functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml
+ functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
+ functest/opnfv_tests/vnf
+commands =
+ yamllint -s {[testenv:yamllint]files}
+
+[testenv:ansiblelint]
+basepython = python2.7
+commands =
+ ansible-lint ansible/site.yml