Skip to content

Commit

Permalink
resolve ansible-test issues
Browse files Browse the repository at this point in the history
This fixes many formatting issues as well to make black, flake8,
pylint, yamllint, and ansible-lint happier.
  • Loading branch information
richm committed Mar 13, 2021
1 parent 2c3eeb8 commit bb2a1af
Show file tree
Hide file tree
Showing 26 changed files with 1,177 additions and 830 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: tox
on: # yamllint disable-line rule:truthy
- pull_request
env:
TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@2.2.0"
TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@2.3.0"
LSR_ANSIBLES: 'ansible==2.8.* ansible==2.9.*'
LSR_MSCENARIOS: default
# LSR_EXTRA_PACKAGES: libdbus-1-dev
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
toxenvs="py${toxpyver}"
case "$toxpyver" in
27) toxenvs="${toxenvs},coveralls,flake8,pylint,custom" ;;
36) toxenvs="${toxenvs},coveralls,black,yamllint,ansible-lint,shellcheck,custom,collection" ;;
36) toxenvs="${toxenvs},coveralls,black,yamllint,ansible-lint,shellcheck,custom,collection,ansible-test" ;;
37) toxenvs="${toxenvs},coveralls,custom" ;;
38) toxenvs="${toxenvs},coveralls,custom" ;;
esac
Expand Down
13 changes: 13 additions & 0 deletions .sanity-ansible-ignore-2.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugins/modules/blivet.py import-2.7!skip
plugins/modules/blivet.py import-3.5!skip
plugins/modules/blivet.py import-3.6!skip
plugins/modules/blivet.py import-3.7!skip
plugins/modules/blivet.py import-3.8!skip
tests/storage/unit/gensym_test.py shebang!skip
plugins/modules/blivet.py validate-modules:import-error
plugins/modules/blivet.py validate-modules:missing-gplv3-license
plugins/modules/blockdev_info.py validate-modules:missing-gplv3-license
plugins/modules/bsize.py validate-modules:missing-gplv3-license
plugins/modules/find_unused_disk.py validate-modules:missing-gplv3-license
plugins/modules/lvm_gensym.py validate-modules:missing-gplv3-license
plugins/modules/resolve_blockdev.py validate-modules:missing-gplv3-license
Loading

0 comments on commit bb2a1af

Please sign in to comment.