diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1faefb51..d79e4ec63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -77,7 +77,7 @@ repos: - types-setuptools - wcmatch - repo: https://github.com/pycqa/pylint - rev: v3.1.0 + rev: v3.2.2 hooks: - id: pylint args: @@ -94,6 +94,6 @@ repos: - pytest-testinfra - wcmatch - repo: https://github.com/ansible/ansible-lint - rev: v24.2.3 + rev: v24.5.0 hooks: - id: ansible-lint diff --git a/test/a_unit/command/test_base.py b/test/a_unit/command/test_base.py index 8cd8726cc..61d3711cc 100644 --- a/test/a_unit/command/test_base.py +++ b/test/a_unit/command/test_base.py @@ -297,6 +297,7 @@ def test_get_subcommand() -> None: def test_command_completion(shell: str) -> None: env = os.environ.copy() env["_MOLECULE_COMPLETE"] = f"{shell}_source" + bash_version = "0.0" if "bash" in shell: bash_version = util.run_command(["bash", "--version"]).stdout.split()[3][0:3]