We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1615334 commit 56cafbbCopy full SHA for 56cafbb
tmt/tests/linters.fmf
@@ -26,9 +26,14 @@ adjust+:
26
# converted lines will be wrapped preserving Jinja and ansible syntax.
27
# This means we get a lot of line-length errors and the only thing we can
28
# do is ignore them.
29
+ # For an unknown reason, with a new version of TMT, tmt-* files started
30
+ # appearing in the collection dir. They interfere with the linter, as they
31
+ # don't follow the rules the linter enforces. Therefore, we remove them to
32
+ # prevent false failures.
33
test: |
34
source "$PYENV_ROOT/bin/activate" &&
35
cd "$COLLECTIONS_ROLES_DIR" &&
36
+ rm -rfv ./tmt-* &&
37
ansible-lint --version &&
38
ansible-lint -v --skip-list 'yaml[line-length]' \
39
--config-file .ansible-lint
0 commit comments