Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-ansible for openSUSE:Factory checked in at 2025-04-02 17:15:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-ansible (Old) and /work/SRC/openSUSE:Factory/.python-pytest-ansible.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-ansible" Wed Apr 2 17:15:40 2025 rev:13 rq:1266301 version:25.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-ansible/python-pytest-ansible.changes 2025-03-20 19:25:23.910645613 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-ansible.new.1907/python-pytest-ansible.changes 2025-04-02 17:17:32.843881532 +0200 @@ -1,0 +2,23 @@ +Tue Apr 01 17:59:03 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- Update to version 25.4.0: + * Bump the dependencies group in /.config with 4 updates (#440) + * Bump the dependencies group in /.config with 7 updates (#439) + * Bump the dependencies group in /.config with 4 updates (#438) + * Minor fixes on testing code (#436) + * chore: pre-commit autoupdate (#433) + * Fix bug with additional collections paths not being strings + (#435) + * Bump the dependencies group in /.config with 11 updates (#434) + * Bump the dependencies group in /.config with 8 updates (#432) + * Update Ubuntu Version (#431) + * Bump the dependencies group in /.config with 10 updates (#430) + * Bump the dependencies group in /.config with 9 updates (#428) + * Bump the dependencies group in /.config with 9 updates (#427) + * chore: pre-commit autoupdate (#426) + * Bump the dependencies group in /.config with 6 updates (#425) + * Update test dependencies (#424) + * Linters update (#423) + * Bump the dependencies group in /.config with 11 updates (#422) + +------------------------------------------------------------------- Old: ---- pytest-ansible-25.1.0.obscpio New: ---- pytest-ansible-25.4.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-ansible.spec ++++++ --- /var/tmp/diff_new_pack.4bkhS1/_old 2025-04-02 17:17:33.647915268 +0200 +++ /var/tmp/diff_new_pack.4bkhS1/_new 2025-04-02 17:17:33.647915268 +0200 @@ -44,7 +44,7 @@ %endif Name: python-pytest-ansible -Version: 25.1.0 +Version: 25.4.0 Release: 0 Summary: Plugin for pytest to simplify calling ansible modules from tests or fixtures License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4bkhS1/_old 2025-04-02 17:17:33.683916779 +0200 +++ /var/tmp/diff_new_pack.4bkhS1/_new 2025-04-02 17:17:33.687916947 +0200 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="url">https://github.com/ansible-community/pytest-ansible</param> <param name="scm">git</param> - <param name="revision">v25.1.0</param> + <param name="revision">v25.4.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.4bkhS1/_old 2025-04-02 17:17:33.707917786 +0200 +++ /var/tmp/diff_new_pack.4bkhS1/_new 2025-04-02 17:17:33.707917786 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ansible-community/pytest-ansible</param> - <param name="changesrevision">4be84c109b63aba5efd2195d5d1646d7d2547336</param></service></servicedata> + <param name="changesrevision">8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7</param></service></servicedata> (No newline at EOF) ++++++ pytest-ansible-25.1.0.obscpio -> pytest-ansible-25.4.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.config/constraints.txt new/pytest-ansible-25.4.0/.config/constraints.txt --- old/pytest-ansible-25.1.0/.config/constraints.txt 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.config/constraints.txt 2025-03-30 04:46:30.000000000 +0200 @@ -1,27 +1,27 @@ # This file was autogenerated by uv via the following command: # tox run deps -ansible-compat==24.10.0 # via molecule, pytest-ansible (pyproject.toml) -astroid==3.3.8 # via pylint -attrs==24.3.0 # via jsonschema, referencing -babel==2.16.0 # via mkdocs-material -beautifulsoup4==4.12.3 # via linkchecker, mkdocs-htmlproofer-plugin -black==24.10.0 # via pytest-ansible (pyproject.toml) +ansible-compat==25.1.4 # via molecule, pytest-ansible (pyproject.toml) +astroid==3.3.9 # via pylint +attrs==25.3.0 # via jsonschema, referencing +babel==2.17.0 # via mkdocs-material +backrefs==5.8 # via mkdocs-material +beautifulsoup4==4.13.3 # via linkchecker, mkdocs-htmlproofer-plugin bracex==2.5.post1 # via wcmatch -cachetools==5.5.0 # via tox +cachetools==5.5.2 # via tox cairocffi==1.7.1 # via cairosvg cairosvg==2.7.1 # via mkdocs-ansible -certifi==2024.12.14 # via requests +certifi==2025.1.31 # via requests cffi==1.17.1 # via cairocffi, cryptography cfgv==3.4.0 # via pre-commit chardet==5.2.0 # via tox charset-normalizer==3.4.1 # via requests -click==8.1.8 # via black, click-help-colors, mkdocs, mkdocstrings, molecule, pydoclint +click==8.1.8 # via click-help-colors, mkdocs, molecule, pydoclint click-help-colors==0.9.4 # via molecule colorama==0.4.6 # via griffe, mkdocs-material, tox -coverage==7.6.10 # via pytest-ansible (pyproject.toml) -cryptography==44.0.0 # via ansible-core +coverage==7.7.1 # via pytest-ansible (pyproject.toml) +cryptography==44.0.2 # via ansible-core csscompressor==0.9.5 # via mkdocs-minify-plugin -cssselect2==0.7.0 # via cairosvg +cssselect2==0.8.0 # via cairosvg defusedxml==0.7.1 # via cairosvg dill==0.3.9 # via pylint distlib==0.3.9 # via virtualenv @@ -30,22 +30,22 @@ enrich==1.2.7 # via molecule exceptiongroup==1.2.2 # via pytest execnet==2.1.1 # via pytest-xdist -filelock==3.16.1 # via tox, virtualenv +filelock==3.18.0 # via tox, virtualenv ghp-import==2.1.0 # via mkdocs -griffe==1.5.5 # via mkdocstrings-python +griffe==1.7.1 # via mkdocstrings-python hjson==3.1.0 # via mkdocs-macros-plugin, super-collections htmlmin2==0.1.13 # via mkdocs-minify-plugin -identify==2.6.5 # via pre-commit +identify==2.6.9 # via pre-commit idna==3.10 # via requests -iniconfig==2.0.0 # via pytest -isort==5.13.2 # via pylint -jinja2==3.1.5 # via ansible-core, mkdocs, mkdocs-macros-plugin, mkdocs-material, mkdocstrings, molecule +iniconfig==2.1.0 # via pytest +isort==6.0.1 # via pylint +jinja2==3.1.6 # via ansible-core, mkdocs, mkdocs-macros-plugin, mkdocs-material, mkdocstrings, molecule jsmin==3.0.1 # via mkdocs-minify-plugin jsonschema==4.23.0 # via ansible-compat, molecule jsonschema-specifications==2024.10.1 # via jsonschema linkchecker==10.5.0 # via mkdocs-ansible markdown==3.7 # via markdown-include, mkdocs, mkdocs-autorefs, mkdocs-htmlproofer-plugin, mkdocs-material, mkdocstrings, pymdown-extensions -markdown-exec==1.10.0 # via mkdocs-ansible +markdown-exec==1.10.3 # via mkdocs-ansible markdown-include==0.8.1 # via mkdocs-ansible markdown-it-py==3.0.0 # via rich markupsafe==3.0.2 # via jinja2, mkdocs, mkdocs-autorefs, mkdocstrings @@ -53,48 +53,48 @@ mdurl==0.1.2 # via markdown-it-py mergedeep==1.3.4 # via mkdocs, mkdocs-get-deps mkdocs==1.6.1 # via mkdocs-ansible, mkdocs-autorefs, mkdocs-gen-files, mkdocs-htmlproofer-plugin, mkdocs-macros-plugin, mkdocs-material, mkdocs-minify-plugin, mkdocs-monorepo-plugin, mkdocstrings -mkdocs-ansible==24.12.0 # via pytest-ansible (pyproject.toml) -mkdocs-autorefs==1.3.0 # via mkdocstrings, mkdocstrings-python +mkdocs-ansible==25.2.0 # via pytest-ansible (pyproject.toml) +mkdocs-autorefs==1.4.1 # via mkdocstrings, mkdocstrings-python mkdocs-gen-files==0.5.0 # via mkdocs-ansible mkdocs-get-deps==0.2.0 # via mkdocs mkdocs-htmlproofer-plugin==1.3.0 # via mkdocs-ansible mkdocs-macros-plugin==1.3.7 # via mkdocs-ansible -mkdocs-material==9.5.50 # via mkdocs-ansible +mkdocs-material==9.6.9 # via mkdocs-ansible mkdocs-material-extensions==1.3.1 # via mkdocs-ansible, mkdocs-material mkdocs-minify-plugin==0.8.0 # via mkdocs-ansible mkdocs-monorepo-plugin==1.1.0 # via mkdocs-ansible -mkdocstrings==0.27.0 # via mkdocs-ansible, mkdocstrings-python -mkdocstrings-python==1.13.0 # via mkdocs-ansible -molecule==24.12.0 # via pytest-ansible (pyproject.toml) -mypy==1.14.1 # via pytest-ansible (pyproject.toml) -mypy-extensions==1.0.0 # via black, mypy +mkdocstrings==0.29.0 # via mkdocs-ansible, mkdocstrings-python +mkdocstrings-python==1.16.8 # via mkdocs-ansible +molecule==25.3.1 # via pytest-ansible (pyproject.toml) +mypy==1.15.0 # via pytest-ansible (pyproject.toml) +mypy-extensions==1.0.0 # via mypy nodeenv==1.9.1 # via pre-commit -packaging==24.2 # via ansible-compat, ansible-core, black, mkdocs, mkdocs-macros-plugin, molecule, pipdeptree, pyproject-api, pytest, tox, pytest-ansible (pyproject.toml) +packaging==24.2 # via ansible-compat, ansible-core, mkdocs, mkdocs-macros-plugin, molecule, pyproject-api, pytest, tox, pytest-ansible (pyproject.toml) paginate==0.5.7 # via mkdocs-material -pathspec==0.12.1 # via black, mkdocs, mkdocs-macros-plugin +pathspec==0.12.1 # via mkdocs, mkdocs-macros-plugin pillow==11.1.0 # via cairosvg, mkdocs-ansible -pipdeptree==2.24.0 # via mkdocs-ansible, pytest-ansible (pyproject.toml) -platformdirs==4.3.6 # via black, mkdocs-get-deps, mkdocstrings, pylint, tox, virtualenv +platformdirs==4.3.7 # via mkdocs-get-deps, pylint, tox, virtualenv pluggy==1.5.0 # via molecule, pytest, tox -pre-commit==4.0.1 # via pytest-ansible (pyproject.toml) +pre-commit==4.1.0 # via pytest-ansible (pyproject.toml) pycparser==2.22 # via cffi -pydoclint==0.6.0 # via pytest-ansible (pyproject.toml) +pydoclint==0.6.2 # via pytest-ansible (pyproject.toml) pygments==2.19.1 # via mkdocs-material, rich -pylint==3.3.3 # via pytest-ansible (pyproject.toml) -pymdown-extensions==10.14 # via markdown-exec, mkdocs-ansible, mkdocs-material, mkdocstrings -pyproject-api==1.8.0 # via tox -pytest==8.3.4 # via pytest-xdist, pytest-ansible (pyproject.toml) +pylint==3.3.5 # via pytest-ansible (pyproject.toml) +pymdown-extensions==10.14.3 # via markdown-exec, mkdocs-ansible, mkdocs-material, mkdocstrings +pyproject-api==1.9.0 # via tox +pytest==8.3.5 # via pytest-github-actions-annotate-failures, pytest-plus, pytest-xdist, pytest-ansible (pyproject.toml) +pytest-github-actions-annotate-failures==0.3.0 # via pytest-ansible (pyproject.toml) +pytest-plus==0.8.1 # via pytest-ansible (pyproject.toml) pytest-xdist==3.6.1 # via pytest-ansible (pyproject.toml) python-dateutil==2.9.0.post0 # via ghp-import, mkdocs-macros-plugin python-slugify==8.0.4 # via mkdocs-monorepo-plugin pyyaml==6.0.2 # via ansible-compat, ansible-core, mkdocs, mkdocs-get-deps, mkdocs-macros-plugin, molecule, pre-commit, pymdown-extensions, pyyaml-env-tag pyyaml-env-tag==0.1 # via mkdocs -referencing==0.36.1 # via jsonschema, jsonschema-specifications -regex==2024.11.6 # via mkdocs-material +referencing==0.36.2 # via jsonschema, jsonschema-specifications requests==2.32.3 # via linkchecker, mkdocs-htmlproofer-plugin, mkdocs-material rich==13.9.4 # via enrich, molecule -rpds-py==0.22.3 # via jsonschema, referencing -ruff==0.9.2 # via pytest-ansible (pyproject.toml) +rpds-py==0.24.0 # via jsonschema, referencing +ruff==0.11.0 # via pytest-ansible (pyproject.toml) six==1.17.0 # via python-dateutil soupsieve==2.6 # via beautifulsoup4 subprocess-tee==0.4.2 # via ansible-compat @@ -103,12 +103,12 @@ text-unidecode==1.3 # via python-slugify tinycss2==1.4.0 # via cairosvg, cssselect2 toml-sort==0.24.2 # via pytest-ansible (pyproject.toml) -tomli==2.2.1 # via black, coverage, mypy, pydoclint, pylint, pyproject-api, pytest, tox +tomli==2.2.1 # via coverage, mypy, pydoclint, pylint, pyproject-api, pytest, tox tomlkit==0.13.2 # via pylint, toml-sort -tox==4.23.2 # via pytest-ansible (pyproject.toml) +tox==4.24.2 # via pytest-ansible (pyproject.toml) types-pyyaml==6.0.12.20241230 # via pytest-ansible (pyproject.toml) urllib3==2.3.0 # via requests -virtualenv==20.29.1 # via pre-commit, tox +virtualenv==20.29.3 # via pre-commit, tox watchdog==6.0.0 # via mkdocs wcmatch==10.0 # via molecule webencodings==0.5.1 # via cssselect2, tinycss2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.config/pydoclint-baseline.txt new/pytest-ansible-25.4.0/.config/pydoclint-baseline.txt --- old/pytest-ansible-25.1.0/.config/pydoclint-baseline.txt 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.config/pydoclint-baseline.txt 2025-03-30 04:46:30.000000000 +0200 @@ -39,8 +39,8 @@ DOC101: Method `BaseHostManager.check_required_kwargs`: Docstring contains fewer arguments than in function signature. DOC106: Method `BaseHostManager.check_required_kwargs`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `BaseHostManager.check_required_kwargs`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: ]. - DOC501: Method `BaseHostManager.check_required_kwargs` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseHostManager.check_required_kwargs` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['TypeError']. + DOC501: Method `BaseHostManager.check_required_kwargs` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseHostManager.check_required_kwargs` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['TypeError']. DOC101: Method `BaseHostManager.has_matching_inventory`: Docstring contains fewer arguments than in function signature. DOC106: Method `BaseHostManager.has_matching_inventory`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `BaseHostManager.has_matching_inventory`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints @@ -51,15 +51,15 @@ DOC107: Method `BaseHostManager.__getitem__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `BaseHostManager.__getitem__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [item: ]. DOC201: Method `BaseHostManager.__getitem__` does not have a return section in docstring - DOC501: Method `BaseHostManager.__getitem__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseHostManager.__getitem__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['KeyError']. + DOC501: Method `BaseHostManager.__getitem__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseHostManager.__getitem__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['KeyError']. DOC101: Method `BaseHostManager.__getattr__`: Docstring contains fewer arguments than in function signature. DOC106: Method `BaseHostManager.__getattr__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `BaseHostManager.__getattr__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `BaseHostManager.__getattr__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [attr: ]. DOC201: Method `BaseHostManager.__getattr__` does not have a return section in docstring - DOC501: Method `BaseHostManager.__getattr__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseHostManager.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['AttributeError']. + DOC501: Method `BaseHostManager.__getattr__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseHostManager.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AttributeError']. DOC201: Method `BaseHostManager.keys` does not have a return section in docstring DOC201: Method `BaseHostManager.__iter__` does not have a return section in docstring DOC201: Method `BaseHostManager.__len__` does not have a return section in docstring @@ -68,13 +68,13 @@ DOC107: Method `BaseHostManager.__contains__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `BaseHostManager.__contains__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [item: ]. DOC201: Method `BaseHostManager.__contains__` does not have a return section in docstring - DOC501: Method `BaseHostManager.initialize_inventory` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseHostManager.initialize_inventory` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['NotImplementedError']. + DOC501: Method `BaseHostManager.initialize_inventory` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseHostManager.initialize_inventory` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['NotImplementedError']. -------------------- src/pytest_ansible/host_manager/utils.py DOC106: Function `get_host_manager`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature - DOC501: Function `get_host_manager` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Function `get_host_manager` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['RuntimeError']. + DOC501: Function `get_host_manager` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `get_host_manager` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError']. -------------------- src/pytest_ansible/host_manager/v213.py DOC101: Method `HostManagerV213.__init__`: Docstring contains fewer arguments than in function signature. @@ -96,21 +96,21 @@ DOC107: Method `BaseModuleDispatcher.__getattr__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `BaseModuleDispatcher.__getattr__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [name: ]. DOC201: Method `BaseModuleDispatcher.__getattr__` does not have a return section in docstring - DOC501: Method `BaseModuleDispatcher.__getattr__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseModuleDispatcher.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['AnsibleModuleError']. + DOC501: Method `BaseModuleDispatcher.__getattr__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseModuleDispatcher.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AnsibleModuleError']. DOC101: Method `BaseModuleDispatcher.check_required_kwargs`: Docstring contains fewer arguments than in function signature. DOC106: Method `BaseModuleDispatcher.check_required_kwargs`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `BaseModuleDispatcher.check_required_kwargs`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: ]. - DOC501: Method `BaseModuleDispatcher.check_required_kwargs` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseModuleDispatcher.check_required_kwargs` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['TypeError']. + DOC501: Method `BaseModuleDispatcher.check_required_kwargs` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseModuleDispatcher.check_required_kwargs` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['TypeError']. DOC101: Method `BaseModuleDispatcher.has_module`: Docstring contains fewer arguments than in function signature. DOC103: Method `BaseModuleDispatcher.has_module`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [name: str]. DOC201: Method `BaseModuleDispatcher.has_module` does not have a return section in docstring DOC101: Method `BaseModuleDispatcher._run`: Docstring contains fewer arguments than in function signature. DOC106: Method `BaseModuleDispatcher._run`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `BaseModuleDispatcher._run`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: , *args: ]. - DOC501: Method `BaseModuleDispatcher._run` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `BaseModuleDispatcher._run` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['RuntimeError']. + DOC501: Method `BaseModuleDispatcher._run` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `BaseModuleDispatcher._run` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError']. -------------------- src/pytest_ansible/module_dispatcher/v213.py DOC101: Method `ResultAccumulator.__init__`: Docstring contains fewer arguments than in function signature. @@ -131,16 +131,16 @@ DOC101: Method `ModuleDispatcherV213.__init__`: Docstring contains fewer arguments than in function signature. DOC106: Method `ModuleDispatcherV213.__init__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `ModuleDispatcherV213.__init__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: ]. - DOC501: Method `ModuleDispatcherV213.__init__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `ModuleDispatcherV213.__init__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['ImportError']. + DOC501: Method `ModuleDispatcherV213.__init__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `ModuleDispatcherV213.__init__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['ImportError']. DOC101: Method `ModuleDispatcherV213.has_module`: Docstring contains fewer arguments than in function signature. DOC103: Method `ModuleDispatcherV213.has_module`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [name: str]. DOC101: Method `ModuleDispatcherV213._run`: Docstring contains fewer arguments than in function signature. DOC106: Method `ModuleDispatcherV213._run`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `ModuleDispatcherV213._run`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**complex_args: , *module_args: ]. DOC201: Method `ModuleDispatcherV213._run` does not have a return section in docstring - DOC501: Method `ModuleDispatcherV213._run` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `ModuleDispatcherV213._run` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['AnsibleConnectionFailure', 'ansible.errors.AnsibleError']. + DOC501: Method `ModuleDispatcherV213._run` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `ModuleDispatcherV213._run` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AnsibleConnectionFailure', 'ansible.errors.AnsibleError']. -------------------- src/pytest_ansible/molecule.py DOC101: Function `molecule_pytest_configure`: Docstring contains fewer arguments than in function signature. @@ -172,6 +172,8 @@ DOC106: Function `pytest_configure`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `pytest_configure`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `pytest_configure`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [config: ]. + DOC501: Function `pytest_configure` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `pytest_configure` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `pytest_collect_file`: Docstring contains fewer arguments than in function signature. DOC103: Function `pytest_collect_file`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [file_path: Path | None, parent: pytest.Collector]. DOC201: Function `pytest_collect_file` does not have a return section in docstring @@ -179,8 +181,8 @@ DOC106: Function `pytest_generate_tests`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `pytest_generate_tests`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `pytest_generate_tests`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [metafunc: ]. - DOC501: Function `pytest_generate_tests` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Function `pytest_generate_tests` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['pytest.UsageError']. + DOC501: Function `pytest_generate_tests` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `pytest_generate_tests` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['pytest.UsageError']. DOC101: Method `PyTestAnsiblePlugin.__init__`: Docstring contains fewer arguments than in function signature. DOC106: Method `PyTestAnsiblePlugin.__init__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `PyTestAnsiblePlugin.__init__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints @@ -209,27 +211,29 @@ DOC106: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [config: ]. - DOC501: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['pytest.UsageError']. + DOC501: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `PyTestAnsiblePlugin.assert_required_ansible_parameters` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['pytest.UsageError']. -------------------- src/pytest_ansible/results.py DOC101: Method `AdHocResult.__init__`: Docstring contains fewer arguments than in function signature. DOC106: Method `AdHocResult.__init__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC103: Method `AdHocResult.__init__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: ]. + DOC501: Method `AdHocResult.__init__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `AdHocResult.__init__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Method `AdHocResult.__getitem__`: Docstring contains fewer arguments than in function signature. DOC106: Method `AdHocResult.__getitem__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `AdHocResult.__getitem__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `AdHocResult.__getitem__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [item: ]. DOC201: Method `AdHocResult.__getitem__` does not have a return section in docstring - DOC501: Method `AdHocResult.__getitem__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `AdHocResult.__getitem__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['KeyError']. + DOC501: Method `AdHocResult.__getitem__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `AdHocResult.__getitem__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['KeyError']. DOC101: Method `AdHocResult.__getattr__`: Docstring contains fewer arguments than in function signature. DOC106: Method `AdHocResult.__getattr__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Method `AdHocResult.__getattr__`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Method `AdHocResult.__getattr__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [attr: ]. DOC201: Method `AdHocResult.__getattr__` does not have a return section in docstring - DOC501: Method `AdHocResult.__getattr__` has "raise" statements, but the docstring does not have a "Raises" section - DOC503: Method `AdHocResult.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body Raises values in the docstring: []. Raised exceptions in the body: ['AttributeError']. + DOC501: Method `AdHocResult.__getattr__` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Method `AdHocResult.__getattr__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AttributeError']. DOC201: Method `AdHocResult.__len__` does not have a return section in docstring DOC101: Method `AdHocResult.__contains__`: Docstring contains fewer arguments than in function signature. DOC106: Method `AdHocResult.__contains__`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature @@ -264,52 +268,80 @@ DOC201: Function `option` does not have a return section in docstring -------------------- tests/integration/test_molecule.py + DOC501: Function `test_molecule_collect` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_molecule_collect` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. + DOC501: Function `test_molecule_disabled` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_molecule_disabled` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. + DOC501: Function `test_molecule_runtest` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_molecule_runtest` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_molecule_fixture`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_molecule_fixture`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [molecule_scenario: MoleculeScenario]. + DOC501: Function `test_molecule_fixture` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_molecule_fixture` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. -------------------- tests/test_adhoc.py DOC101: Function `test_contacted_with_params`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_contacted_with_params`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_contacted_with_params`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_contacted_with_params`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_contacted_with_params` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_contacted_with_params` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_contacted_with_params_and_inventory_marker`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_contacted_with_params_and_inventory_marker`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_contacted_with_params_and_inventory_marker`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_contacted_with_params_and_inventory_marker`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_contacted_with_params_and_inventory_marker` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_contacted_with_params_and_inventory_marker` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_contacted_with_params_and_host_pattern_marker`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_contacted_with_params_and_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_contacted_with_params_and_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_contacted_with_params_and_host_pattern_marker`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_contacted_with_params_and_host_pattern_marker` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_contacted_with_params_and_host_pattern_marker` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_contacted_with_params_and_inventory_host_pattern_marker`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_contacted_with_params_and_inventory_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_contacted_with_params_and_inventory_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_contacted_with_params_and_inventory_host_pattern_marker`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_contacted_with_params_and_inventory_host_pattern_marker` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_contacted_with_params_and_inventory_host_pattern_marker` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_become`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_become`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_become`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_become`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_become` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_become` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_dark_with_params`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_dark_with_params`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_dark_with_params`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_dark_with_params`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_dark_with_params` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_dark_with_params` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_dark_with_params_and_inventory_marker`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_dark_with_params_and_inventory_marker`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_dark_with_params_and_inventory_marker`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_dark_with_params_and_inventory_marker`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_dark_with_params_and_inventory_marker` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_dark_with_params_and_inventory_marker` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_dark_with_params_and_host_pattern_marker`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_dark_with_params_and_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_dark_with_params_and_host_pattern_marker`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_dark_with_params_and_host_pattern_marker`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_dark_with_params_and_host_pattern_marker` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_dark_with_params_and_host_pattern_marker` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_dark_with_debug_enabled`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_dark_with_debug_enabled`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_dark_with_debug_enabled`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_dark_with_debug_enabled`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_dark_with_debug_enabled` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_dark_with_debug_enabled` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. -------------------- tests/test_module_dispatcher.py DOC101: Function `test_ansible_module_error`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_ansible_module_error`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_ansible_module_error`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_ansible_module_error`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [hosts: ]. + DOC501: Function `test_ansible_module_error` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_ansible_module_error` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. -------------------- tests/test_params.py DOC101: Function `test_plugin_help`: Docstring contains fewer arguments than in function signature. @@ -324,22 +356,32 @@ DOC106: Function `test_report_header`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_report_header`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_report_header`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_report_header` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_report_header` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_params_not_required_when_not_using_fixture`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_params_not_required_when_not_using_fixture`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_params_not_required_when_not_using_fixture`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_params_not_required_when_not_using_fixture`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_params_not_required_when_not_using_fixture` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_params_not_required_when_not_using_fixture` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_params_required_when_using_fixture`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_params_required_when_using_fixture`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_params_required_when_using_fixture`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_params_required_when_using_fixture`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [fixture_name: , option: , pytester: ]. + DOC501: Function `test_params_required_when_using_fixture` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_params_required_when_using_fixture` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_param_requires_value`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_param_requires_value`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_param_requires_value`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_param_requires_value`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [pytester: , required_value_parameter: ]. + DOC501: Function `test_param_requires_value` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_param_requires_value` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_params_required_with_inventory_without_host_pattern`: Docstring contains fewer arguments than in function signature. DOC106: Function `test_params_required_with_inventory_without_host_pattern`: The option `--arg-type-hints-in-signature` is `True` but there are no argument type hints in the signature DOC107: Function `test_params_required_with_inventory_without_host_pattern`: The option `--arg-type-hints-in-signature` is `True` but not all args in the signature have type hints DOC103: Function `test_params_required_with_inventory_without_host_pattern`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [option: , pytester: ]. + DOC501: Function `test_params_required_with_inventory_without_host_pattern` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_params_required_with_inventory_without_host_pattern` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. -------------------- tests/test_plugin.py DOC101: Method `MockItem.__init__`: Docstring contains fewer arguments than in function signature. @@ -354,9 +396,12 @@ tests/unit/test_unit.py DOC101: Function `test_inject`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_inject`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch, tmp_path: Path]. - DOC101: Function `mock_get_collection_name`: Docstring contains fewer arguments than in function signature. - DOC103: Function `mock_get_collection_name`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [start_path: str]. - DOC201: Function `mock_get_collection_name` does not have a return section in docstring + DOC501: Function `test_inject` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_inject` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. DOC101: Function `test_inject_only`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_inject_only`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch, tmp_path: Path]. + DOC501: Function `test_inject_only` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_inject_only` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. + DOC501: Function `test_for_params` has raise/assert statements, but the docstring does not have a "Raises" section + DOC503: Function `test_for_params` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)']. -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.config/requirements-docs.in new/pytest-ansible-25.4.0/.config/requirements-docs.in --- old/pytest-ansible-25.1.0/.config/requirements-docs.in 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.config/requirements-docs.in 2025-03-30 04:46:30.000000000 +0200 @@ -1,2 +1 @@ mkdocs-ansible>=0.2.0 -pipdeptree>=2.7.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.config/requirements-test.in new/pytest-ansible-25.4.0/.config/requirements-test.in --- old/pytest-ansible-25.1.0/.config/requirements-test.in 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.config/requirements-test.in 2025-03-30 04:46:30.000000000 +0200 @@ -1,5 +1,4 @@ ansible-core -black coverage[toml] molecule mypy @@ -8,6 +7,8 @@ pydoclint pylint pytest +pytest-github-actions-annotate-failures >= 0.3.0 +pytest-plus >= 0.8.1 pytest-xdist ruff toml-sort diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/HEAD new/pytest-ansible-25.4.0/.git/HEAD --- old/pytest-ansible-25.1.0/.git/HEAD 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/HEAD 2025-03-30 04:46:30.000000000 +0200 @@ -1 +1 @@ -4be84c109b63aba5efd2195d5d1646d7d2547336 +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/ORIG_HEAD new/pytest-ansible-25.4.0/.git/ORIG_HEAD --- old/pytest-ansible-25.1.0/.git/ORIG_HEAD 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/ORIG_HEAD 2025-03-30 04:46:30.000000000 +0200 @@ -1 +1 @@ -4be84c109b63aba5efd2195d5d1646d7d2547336 +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/config new/pytest-ansible-25.4.0/.git/config --- old/pytest-ansible-25.1.0/.git/config 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/config 2025-03-30 04:46:30.000000000 +0200 @@ -1,15 +1,11 @@ [core] - repositoryformatversion = 1 + repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://github.com/ansible-community/pytest-ansible fetch = +refs/heads/*:refs/remotes/origin/* - promisor = true - partialclonefilter = tree:0 [branch "main"] remote = origin merge = refs/heads/main -[extensions] - partialClone = origin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/applypatch-msg.sample new/pytest-ansible-25.4.0/.git/hooks/applypatch-msg.sample --- old/pytest-ansible-25.1.0/.git/hooks/applypatch-msg.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/applypatch-msg.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to check the commit log message taken by # applypatch from an e-mail message. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/commit-msg.sample new/pytest-ansible-25.4.0/.git/hooks/commit-msg.sample --- old/pytest-ansible-25.1.0/.git/hooks/commit-msg.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/commit-msg.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to check the commit log message. # Called by "git commit" with one argument, the name of the file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/fsmonitor-watchman.sample new/pytest-ansible-25.4.0/.git/hooks/fsmonitor-watchman.sample --- old/pytest-ansible-25.1.0/.git/hooks/fsmonitor-watchman.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/fsmonitor-watchman.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/ygz7vmxcmm3p9md71ck883qdlkfi7c62-perl-5.40.0/bin/perl +#!/usr/bin/perl use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/post-update.sample new/pytest-ansible-25.4.0/.git/hooks/post-update.sample --- old/pytest-ansible-25.1.0/.git/hooks/post-update.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/post-update.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to prepare a packed repository for use over # dumb transports. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-applypatch.sample new/pytest-ansible-25.4.0/.git/hooks/pre-applypatch.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-applypatch.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-applypatch.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to verify what is about to be committed # by applypatch from an e-mail message. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-commit.sample new/pytest-ansible-25.4.0/.git/hooks/pre-commit.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-commit.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-commit.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-merge-commit.sample new/pytest-ansible-25.4.0/.git/hooks/pre-merge-commit.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-merge-commit.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-merge-commit.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git merge" with no arguments. The hook should diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-push.sample new/pytest-ansible-25.4.0/.git/hooks/pre-push.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-push.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-push.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # An example hook script to verify what is about to be pushed. Called by "git # push" after it has checked the remote status, but before anything has been diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-rebase.sample new/pytest-ansible-25.4.0/.git/hooks/pre-rebase.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-rebase.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-rebase.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # Copyright (c) 2006, 2008 Junio C Hamano # @@ -65,7 +65,7 @@ fi else not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` - /nix/store/ygz7vmxcmm3p9md71ck883qdlkfi7c62-perl-5.40.0/bin/perl -e ' + /usr/bin/perl -e ' my $topic = $ARGV[0]; my $msg = "* $topic has commits already merged to public branch:\n"; my (%not_in_next) = map { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/pre-receive.sample new/pytest-ansible-25.4.0/.git/hooks/pre-receive.sample --- old/pytest-ansible-25.1.0/.git/hooks/pre-receive.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/pre-receive.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to make use of push options. # The example simply echoes all push options that start with 'echoback=' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/prepare-commit-msg.sample new/pytest-ansible-25.4.0/.git/hooks/prepare-commit-msg.sample --- old/pytest-ansible-25.1.0/.git/hooks/prepare-commit-msg.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/prepare-commit-msg.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to prepare the commit log message. # Called by "git commit" with the name of the file that has the @@ -24,11 +24,11 @@ COMMIT_SOURCE=$2 SHA1=$3 -/nix/store/ygz7vmxcmm3p9md71ck883qdlkfi7c62-perl-5.40.0/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" # case "$COMMIT_SOURCE,$SHA1" in # ,|template,) -# /nix/store/ygz7vmxcmm3p9md71ck883qdlkfi7c62-perl-5.40.0/bin/perl -i.bak -pe ' +# /usr/bin/perl -i.bak -pe ' # print "\n" . `git diff --cached --name-status -r` # if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; # *) ;; @@ -38,5 +38,5 @@ # git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" # if test -z "$COMMIT_SOURCE" # then -# /nix/store/ygz7vmxcmm3p9md71ck883qdlkfi7c62-perl-5.40.0/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" # fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/push-to-checkout.sample new/pytest-ansible-25.4.0/.git/hooks/push-to-checkout.sample --- old/pytest-ansible-25.1.0/.git/hooks/push-to-checkout.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/push-to-checkout.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # An example hook script to update a checked-out tree on a git push. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/sendemail-validate.sample new/pytest-ansible-25.4.0/.git/hooks/sendemail-validate.sample --- old/pytest-ansible-25.1.0/.git/hooks/sendemail-validate.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/sendemail-validate.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # An example hook script to validate a patch (and/or patch series) before # sending it via email. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/hooks/update.sample new/pytest-ansible-25.4.0/.git/hooks/update.sample --- old/pytest-ansible-25.1.0/.git/hooks/update.sample 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/hooks/update.sample 2025-03-30 04:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -#!/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash +#!/bin/sh # # An example hook script to block unannotated tags from entering. # Called by "git receive-pack" with arguments: refname sha1-old sha1-new Binary files old/pytest-ansible-25.1.0/.git/index and new/pytest-ansible-25.4.0/.git/index differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/logs/HEAD new/pytest-ansible-25.4.0/.git/logs/HEAD --- old/pytest-ansible-25.1.0/.git/logs/HEAD 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/logs/HEAD 2025-03-30 04:46:30.000000000 +0200 @@ -1,2 +1,2 @@ -0000000000000000000000000000000000000000 4be84c109b63aba5efd2195d5d1646d7d2547336 Johannes Kastl <johannes.ka...@ars.de> 1737527092 +0100 clone: from https://github.com/ansible-community/pytest-ansible -4be84c109b63aba5efd2195d5d1646d7d2547336 4be84c109b63aba5efd2195d5d1646d7d2547336 Johannes Kastl <johannes.ka...@ars.de> 1737527093 +0100 checkout: moving from main to v25.1.0 +0000000000000000000000000000000000000000 8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 ojkastl <ojkastl@sarabi.(none)> 1743530343 +0000 clone: from https://github.com/ansible-community/pytest-ansible +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 ojkastl <ojkastl@sarabi.(none)> 1743530343 +0000 checkout: moving from main to v25.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/logs/refs/heads/main new/pytest-ansible-25.4.0/.git/logs/refs/heads/main --- old/pytest-ansible-25.1.0/.git/logs/refs/heads/main 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/logs/refs/heads/main 2025-03-30 04:46:30.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 4be84c109b63aba5efd2195d5d1646d7d2547336 Johannes Kastl <johannes.ka...@ars.de> 1737527092 +0100 clone: from https://github.com/ansible-community/pytest-ansible +0000000000000000000000000000000000000000 8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 ojkastl <ojkastl@sarabi.(none)> 1743530343 +0000 clone: from https://github.com/ansible-community/pytest-ansible diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/logs/refs/remotes/origin/HEAD new/pytest-ansible-25.4.0/.git/logs/refs/remotes/origin/HEAD --- old/pytest-ansible-25.1.0/.git/logs/refs/remotes/origin/HEAD 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/logs/refs/remotes/origin/HEAD 2025-03-30 04:46:30.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 4be84c109b63aba5efd2195d5d1646d7d2547336 Johannes Kastl <johannes.ka...@ars.de> 1737527092 +0100 clone: from https://github.com/ansible-community/pytest-ansible +0000000000000000000000000000000000000000 8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 ojkastl <ojkastl@sarabi.(none)> 1743530343 +0000 clone: from https://github.com/ansible-community/pytest-ansible Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.idx and new/pytest-ansible-25.4.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.idx differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.pack and new/pytest-ansible-25.4.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.pack differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.rev and new/pytest-ansible-25.4.0/.git/objects/pack/pack-2024d6fa8fc1cfc65da8a4b407cb4ca03c58f10e.rev differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.idx and new/pytest-ansible-25.4.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.idx differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.pack and new/pytest-ansible-25.4.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.pack differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.promisor new/pytest-ansible-25.4.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.promisor --- old/pytest-ansible-25.1.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.promisor 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.promisor 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ -4be84c109b63aba5efd2195d5d1646d7d2547336 HEAD -64d8b204b589dd76babddd103f31047768871c7a refs/heads/coverage_used -4be84c109b63aba5efd2195d5d1646d7d2547336 refs/heads/main -15f680480c7bac9ef1694fc7334d8a42aa158c75 refs/heads/mkdocs -cbd13e8b0fde4e5efa9d240ac1cf065b357be0d1 refs/heads/pyproject-pytest -1bfd2277ea850f559d2a82c89ecf7046b658ee07 refs/heads/revert-159-master -3b133d6d757c8c99fbd412626fd10bbfbdaba804 refs/heads/stable-2.2 -bb6f1d1bf1d514b2ed8b715d7ce8e4e37f2189d8 refs/heads/stable/2.x -40319f28b9891f5590d31ff03d3193e73095f0d2 refs/heads/unit -2ba6f458612e5810a4d45597fd3cfb71023f266a refs/tags/v1.1 -6ce14495979c1b128bc2b8e8e04df5dce60f1e88 refs/tags/v1.2.1 -bc12c5cceac482c3b67bfbe193def030ebb56f1d refs/tags/v1.2.2 -4dfae5f38e6e475f8e7bb3c061e1e5c96f73d6f4 refs/tags/v1.2.3 -ed977d68efef568fe9a4c89162c89369eb19c98a refs/tags/v1.3.0 -a9ff0d868eab09d635c3b564704164d0cedf0c94 refs/tags/v2.0.2 -584fac60f38df05743535607ddf9ab9757a987f3 refs/tags/v2.1.0 -b94afe48ca99281782060c62e2fc77b5262cbd6d refs/tags/v2.1.1 -275305fa5f34e026b64392191cabffbcaaf6eb03 refs/tags/v2.2.2 -ddfa2d1d52eb09fc8534afd17c00e4ab9c6ad189 refs/tags/v2.2.3 -08ab81b9702a36c9ca55eb7c5c24dac185913360 refs/tags/v2.2.4 -d7e6e56320d295a40b4870ae6ff4a8c7603ffd6f refs/tags/v24.1.0 -62b5f724c9485764d2ee82755e927582b9c5c439 refs/tags/v24.1.1 -2d7f6d5766bf12a92265bbaa0e042a9b718eccd0 refs/tags/v24.1.2 -d357f58bec06e4332e9f3c677d301e0151b3b2cd refs/tags/v24.1.3 -e93d5e4ff864161458cd52961a13cfe261b7d656 refs/tags/v24.1.4 -0c8deb161369cbb4a25261eaffa45e93c531b5f7 refs/tags/v24.12.0 -a67e41ce5a7bedf0caa6905cd0b54603aee28f80 refs/tags/v24.7.0 -8c175ebb322d7ae7fff3d5e45728fc9549ea6c78 refs/tags/v24.7.1.pre00 -4c9b968970db2130a379d8e4081f30ac8990db61 refs/tags/v24.7.1.pre01 -4c9b968970db2130a379d8e4081f30ac8990db61 refs/tags/v24.7.1.pre02 -70074be2fbe6897ffa1bd7a9e155e42350d5d6a4 refs/tags/v24.7.1.pre03 -70074be2fbe6897ffa1bd7a9e155e42350d5d6a4 refs/tags/v24.7.1.pre04 -253042471aec6267d713a561c770096896473cac refs/tags/v24.7.1.pre05 -1ad83f68ea97a2e638adc709e957e31418574e78 refs/tags/v24.7.1.pre06 -e5dec65fda74a9d107a16befa99a91a2770a560d refs/tags/v24.7.1.pre07 -ea224bb9c0f9d415298c0ca3f3e9d2265282684e refs/tags/v24.7.1.pre08 -080a6f63b30a2f30c5ca0e8dad4fbae61131de31 refs/tags/v24.8.0 -efe1219706b845be406e017844b78f026824fcfa refs/tags/v24.9.0 -4be84c109b63aba5efd2195d5d1646d7d2547336 refs/tags/v25.1.0 -cfcb2520db3d18f220802e5adc62eee73891c891 refs/tags/v3.0.0 -e03f575aa9334884c65c4ae3b82e383251e40a32 refs/tags/v3.1.0 -f8ef52f46554cb4950a2cfa7ef5a2ce9d0865c65 refs/tags/v3.1.1 -e1fb69da6fbd176599efd7e5ca52471baa3ad0fe refs/tags/v3.1.2 -e1fb69da6fbd176599efd7e5ca52471baa3ad0fe refs/tags/v3.1.3 -bb09e4daa7258d222f13c7a2315972fa4de01fdb refs/tags/v3.1.4 -150dfe781adfd0de5f9e0f450892c8ebe674f2d9 refs/tags/v3.1.5 -f76515228456259c85bdb74074b7ef4469286f9d refs/tags/v3.2.0 -9aa832542f34c480cf7368df24571d8fc7805998 refs/tags/v3.2.1 -b340d0d3f4785d2ff83376d5ae8fa371cfb9b468 refs/tags/v4.0.0 -f575541e7ffea928558df430a04de561c9ae7dc6 refs/tags/v4.1.0 -0f67041f72cfb08eb697f73f6d903223be695172 refs/tags/v4.1.1 Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.rev and new/pytest-ansible-25.4.0/.git/objects/pack/pack-56e00ade61b492be3033abc2aca19306535fd175.rev differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.idx and new/pytest-ansible-25.4.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.idx differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.pack and new/pytest-ansible-25.4.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.pack differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.rev and new/pytest-ansible-25.4.0/.git/objects/pack/pack-7c8f3d6fd36550b0ef094e80d19273bd65c351bc.rev differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.idx and new/pytest-ansible-25.4.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.idx differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.pack and new/pytest-ansible-25.4.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.pack differ Binary files old/pytest-ansible-25.1.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.rev and new/pytest-ansible-25.4.0/.git/objects/pack/pack-86cb2736b61262c851cb6122d6bc0c9a38429af2.rev differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/packed-refs new/pytest-ansible-25.4.0/.git/packed-refs --- old/pytest-ansible-25.1.0/.git/packed-refs 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/packed-refs 2025-03-30 04:46:30.000000000 +0200 @@ -1,6 +1,7 @@ # pack-refs with: peeled fully-peeled sorted 64d8b204b589dd76babddd103f31047768871c7a refs/remotes/origin/coverage_used -4be84c109b63aba5efd2195d5d1646d7d2547336 refs/remotes/origin/main +b60d140465d6856443a6c8a72fb76f8caa4aaebb refs/remotes/origin/fix/stuff +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 refs/remotes/origin/main 15f680480c7bac9ef1694fc7334d8a42aa158c75 refs/remotes/origin/mkdocs cbd13e8b0fde4e5efa9d240ac1cf065b357be0d1 refs/remotes/origin/pyproject-pytest 1bfd2277ea850f559d2a82c89ecf7046b658ee07 refs/remotes/origin/revert-159-master @@ -38,6 +39,7 @@ 080a6f63b30a2f30c5ca0e8dad4fbae61131de31 refs/tags/v24.8.0 efe1219706b845be406e017844b78f026824fcfa refs/tags/v24.9.0 4be84c109b63aba5efd2195d5d1646d7d2547336 refs/tags/v25.1.0 +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 refs/tags/v25.4.0 cfcb2520db3d18f220802e5adc62eee73891c891 refs/tags/v3.0.0 e03f575aa9334884c65c4ae3b82e383251e40a32 refs/tags/v3.1.0 f8ef52f46554cb4950a2cfa7ef5a2ce9d0865c65 refs/tags/v3.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.git/refs/heads/main new/pytest-ansible-25.4.0/.git/refs/heads/main --- old/pytest-ansible-25.1.0/.git/refs/heads/main 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.git/refs/heads/main 2025-03-30 04:46:30.000000000 +0200 @@ -1 +1 @@ -4be84c109b63aba5efd2195d5d1646d7d2547336 +8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.github/workflows/release.yml new/pytest-ansible-25.4.0/.github/workflows/release.yml --- old/pytest-ansible-25.1.0/.github/workflows/release.yml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.github/workflows/release.yml 2025-03-30 04:46:30.000000000 +0200 @@ -8,7 +8,7 @@ jobs: release: environment: release - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: id-token: write @@ -38,7 +38,7 @@ forum_post: needs: release - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Retrieve the forum post script from team-devtools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.github/workflows/tox.yml new/pytest-ansible-25.4.0/.github/workflows/tox.yml --- old/pytest-ansible-25.1.0/.github/workflows/tox.yml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.github/workflows/tox.yml 2025-03-30 04:46:30.000000000 +0200 @@ -21,8 +21,9 @@ uses: ansible/team-devtools/.github/workflows/tox.yml@main with: max_python: "3.13" - jobs_producing_coverage: 7 + jobs_producing_coverage: 8 other_names: | + devel docs lint pkg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.pre-commit-config.yaml new/pytest-ansible-25.4.0/.pre-commit-config.yaml --- old/pytest-ansible-25.1.0/.pre-commit-config.yaml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.pre-commit-config.yaml 2025-03-30 04:46:30.000000000 +0200 @@ -18,13 +18,6 @@ - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/asottile/add-trailing-comma.git - rev: v3.1.0 - hooks: - - id: add-trailing-comma - args: - - --py36-plus - - repo: https://github.com/Lucas-C/pre-commit-hooks.git rev: v1.5.5 hooks: @@ -34,8 +27,8 @@ .config/pydoclint-baseline.txt )$ - - repo: https://github.com/pycontribs/mirrors-prettier - rev: v3.4.2 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.5.3 hooks: - id: prettier always_run: true @@ -50,12 +43,12 @@ - id: toml-sort-fix - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.4.1 + rev: 1.5.0 hooks: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.10 hooks: - id: ruff args: @@ -65,19 +58,14 @@ - id: ruff-format # must be after ruff types_or: [python, pyi] - - repo: https://github.com/psf/black # must be after ruff - rev: 24.10.0 - hooks: - - id: black - - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.17.0 + rev: v8.17.3 hooks: - id: cspell name: Spell check with cspell - repo: https://github.com/jsh9/pydoclint - rev: "0.5.14" + rev: "0.6.2" hooks: - id: pydoclint # This allows automatic reduction of the baseline file when needed. @@ -85,7 +73,7 @@ pass_filenames: false - repo: https://github.com/pycqa/pylint.git - rev: v3.3.3 + rev: v3.3.5 hooks: - id: pylint args: @@ -99,7 +87,7 @@ - setuptools - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.14.1 + rev: v1.15.0 hooks: - id: mypy additional_dependencies: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.readthedocs.yml new/pytest-ansible-25.4.0/.readthedocs.yml --- old/pytest-ansible-25.1.0/.readthedocs.yml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.readthedocs.yml 2025-03-30 04:46:30.000000000 +0200 @@ -6,12 +6,12 @@ configuration: mkdocs.yml build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.11" commands: - pip install --user tox - - python3 -m tox -e docs -- --strict --site-dir=_readthedocs/html/ + - python3 -m tox -e docs python: install: - method: pip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.vscode/extensions.json new/pytest-ansible-25.4.0/.vscode/extensions.json --- old/pytest-ansible-25.1.0/.vscode/extensions.json 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.vscode/extensions.json 2025-03-30 04:46:30.000000000 +0200 @@ -4,7 +4,6 @@ "esbenp.prettier-vscode", "gruntfuggly.triggertaskonsave", "markis.code-coverage", - "ms-python.black-formatter", "ms-python.debugpy", "ms-python.mypy-type-checker", "ms-python.pylint", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/.vscode/settings.json new/pytest-ansible-25.4.0/.vscode/settings.json --- old/pytest-ansible-25.1.0/.vscode/settings.json 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/.vscode/settings.json 2025-03-30 04:46:30.000000000 +0200 @@ -7,7 +7,7 @@ "source.fixAll": "explicit", "source.organizeImports": "explicit" }, - "editor.defaultFormatter": "ms-python.black-formatter", + "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true }, "flake8.importStrategy": "fromEnvironment", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/docs/getting_started.md new/pytest-ansible-25.4.0/docs/getting_started.md --- old/pytest-ansible-25.1.0/docs/getting_started.md 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/docs/getting_started.md 2025-03-30 04:46:30.000000000 +0200 @@ -54,7 +54,7 @@ The following may be added to the collections' `pyproject.toml` file to limit warnings and set the default path for the collection's tests -``` +```toml [tool.pytest.ini_options] testpaths = [ "tests", @@ -70,7 +70,7 @@ One way to detect issues without running the tests is to run: -``` +```shell pytest --collect-only ``` @@ -106,7 +106,7 @@ Add a `test_integration.py` file to the `tests/integration` directory of the ansible collection: -``` +```python """Tests for molecule scenarios.""" from __future__ import absolute_import, division, print_function diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/docs/installing.md new/pytest-ansible-25.4.0/docs/installing.md --- old/pytest-ansible-25.1.0/docs/installing.md 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/docs/installing.md 2025-03-30 04:46:30.000000000 +0200 @@ -10,12 +10,12 @@ You can install the most recent version of pytest-ansible with the [pip] Python package manager. -```bash +```shell pip install pytest-ansible ``` Install this plugin using `pip`: -``` +```shell pip install pytest-ansible ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/mkdocs.yml new/pytest-ansible-25.4.0/mkdocs.yml --- old/pytest-ansible-25.1.0/mkdocs.yml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/mkdocs.yml 2025-03-30 04:46:30.000000000 +0200 @@ -64,7 +64,7 @@ docstring_style: sphinx merge_init_into_class: yes show_submodules: yes - import: + inventories: - url: https://docs.ansible.com/ansible/latest/objects.inv domains: [py, std] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/pyproject.toml new/pytest-ansible-25.4.0/pyproject.toml --- old/pytest-ansible-25.1.0/pyproject.toml 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/pyproject.toml 2025-03-30 04:46:30.000000000 +0200 @@ -19,7 +19,8 @@ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13" ] description = "Plugin for pytest to simplify calling ansible modules from tests or fixtures" dynamic = ["version", "dependencies", "optional-dependencies"] @@ -39,23 +40,21 @@ homepage = "https://github.com/ansible/pytest-ansible" repository = "https://github.com/ansible/pytest-ansible" -[tool.black] -line-length = 100 - [tool.coverage.report] exclude_also = ["if TYPE_CHECKING:", "pragma: no cover"] -fail_under = 68 -ignore_errors = true +fail_under = 76 +ignore_errors = false show_missing = true skip_covered = true skip_empty = true -sort = "Cover" [tool.coverage.run] branch = false # https://github.com/nedbat/coveragepy/issues/605 -concurrency = ["multiprocessing", "thread"] +# do not add 'thread' because it would generate some broken coverage files with: +# CoverageWarning: Couldn't use data file ... database disk image is malformed +# concurrency = ["multiprocessing"] # , "thread"] omit = ["_version.py"] -parallel = true +parallel = false source_pkgs = ["pytest_ansible"] [tool.mypy] @@ -323,6 +322,10 @@ [tool.pytest.ini_options] addopts = "-ra --showlocals --durations=10" cache_dir = "./.cache/.pytest" +filterwarnings = [ + "ignore:This process \\(pid=.*\\) is multi-threaded, use of fork\\(\\) may lead to deadlocks in the child.:DeprecationWarning", + "ignore:AnsibleCollectionFinder has already been configured:UserWarning" +] markers = ["old", "unit", "requires_ansible_v2"] testpaths = "tests" tmp_path_retention_policy = "failed" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/src/pytest_ansible/units.py new/pytest-ansible-25.4.0/src/pytest_ansible/units.py --- old/pytest-ansible-25.1.0/src/pytest_ansible/units.py 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/src/pytest_ansible/units.py 2025-03-30 04:46:30.000000000 +0200 @@ -104,17 +104,19 @@ os.symlink(entry, name_dir / entry.name) # Configuration option for additional collection paths - additional_collections_paths = [Path("~/.ansible/collections").expanduser()] + additional_collections_paths: list[str] = [ + Path("~/.ansible/collections").expanduser().as_posix() + ] # Check if the environment variable is set for additional paths if "COLLECTIONS_PATH" in os.environ and "COLLECTIONS_PATHS" in os.environ: additional_collections_paths.extend( - os.environ.get("COLLECTIONS_PATH", "").split(os.pathsep) # type: ignore[arg-type] + os.environ.get("COLLECTIONS_PATH", "").split(os.pathsep) + os.environ.get("COLLECTIONS_PATHS", "").split(os.pathsep), ) logger.info("Additional Collections Paths: %s", additional_collections_paths) - acf_inject(paths=[str(collections_dir), *additional_collections_paths]) # type: ignore[list-item] + acf_inject(paths=[str(collections_dir), *additional_collections_paths]) # Inject the path for the collection into sys.path sys.path.insert(0, str(collections_dir)) @@ -123,8 +125,8 @@ # Set the environment variable as a courtesy for integration tests envvar_name = determine_envvar() # Assuming additional_collections_paths is a list of PosixPath objects - additional_collections_paths = [str(path) for path in additional_collections_paths] # type: ignore[misc] - env_paths = os.pathsep.join([str(collections_dir), *additional_collections_paths]) # type: ignore[list-item] + additional_collections_paths = [str(path) for path in additional_collections_paths] + env_paths = os.pathsep.join([str(collections_dir), *additional_collections_paths]) logger.info("Setting %s to %s", envvar_name, env_paths) os.environ[envvar_name] = env_paths diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/tests/test_adhoc.py new/pytest-ansible-25.4.0/tests/test_adhoc.py --- old/pytest-ansible-25.1.0/tests/test_adhoc.py 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/tests/test_adhoc.py 2025-03-30 04:46:30.000000000 +0200 @@ -163,12 +163,18 @@ assert len(contacted) == len(ansible_module) for result in contacted.values(): # Assert test failed as expected - if parse_version(ansible.__version__) < parse_version('2.4.0'): + if parse_version(ansible.__version__) >= parse_version('2.19.0.dev0'): + assert result["failed"], "Test did not fail as expected" + assert ( + "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user" + in result["msg"] + ) + elif parse_version(ansible.__version__) < parse_version('2.4.0'): assert 'failed' in result, "Missing expected field in JSON response: failed" assert result['failed'], "Test did not fail as expected" # Assert expected failure message - if parse_version(ansible.__version__) >= parse_version('2.0.0'): + elif parse_version(ansible.__version__) >= parse_version('2.0.0'): assert 'msg' in result, "Missing expected field in JSON response: msg" assert result['msg'].startswith('Failed to set permissions on the temporary files Ansible needs ' \ 'to create when becoming an unprivileged user') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/tests/test_adhoc_result.py new/pytest-ansible-25.4.0/tests/test_adhoc_result.py --- old/pytest-ansible-25.1.0/tests/test_adhoc_result.py 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/tests/test_adhoc_result.py 2025-03-30 04:46:30.000000000 +0200 @@ -159,9 +159,9 @@ # Assert dark assert "unknown.example.extra.com" in exc_info.value.dark # Assert unreachable - assert ( - "unreachable" in exc_info.value.dark["unknown.example.extra.com"] - ), exc_info.value.dark.keys() + assert "unreachable" in exc_info.value.dark["unknown.example.extra.com"], ( + exc_info.value.dark.keys() + ) assert exc_info.value.dark["unknown.example.extra.com"]["unreachable"] # Assert msg assert "msg" in exc_info.value.dark["unknown.example.extra.com"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/tests/test_host_manager.py new/pytest-ansible-25.4.0/tests/test_host_manager.py --- old/pytest-ansible-25.1.0/tests/test_host_manager.py 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/tests/test_host_manager.py 2025-03-30 04:46:30.000000000 +0200 @@ -135,9 +135,9 @@ ) def test_host_manager_slice(host_slice, num_hosts, hosts, include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 _hosts = hosts(include_extra_inventory=include_extra_inventory) - assert ( - len(_hosts[host_slice]) == num_hosts[include_extra_inventory] - ), f"{len(_hosts[host_slice])} != {num_hosts} for {host_slice}" + assert len(_hosts[host_slice]) == num_hosts[include_extra_inventory], ( + f"{len(_hosts[host_slice])} != {num_hosts} for {host_slice}" + ) # pylint: disable=pointless-statement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/tests/unit/test_unit.py new/pytest-ansible-25.4.0/tests/unit/test_unit.py --- old/pytest-ansible-25.1.0/tests/unit/test_unit.py 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/tests/unit/test_unit.py 2025-03-30 04:46:30.000000000 +0200 @@ -31,11 +31,14 @@ """ caplog.set_level(logging.DEBUG) - def mock_get_collection_name(start_path: str) -> tuple[str, str]: # noqa: ARG001 + def mock_get_collection_name(start_path: Path) -> tuple[str | None, str | None]: # noqa: ARG001 """Mock the get_collection_name function. - :param start_path: The path to the root of the collection - :returns: A tuple of the namespace and name + Args: + start_path: The Path to the root of the collection + + Returns: + A tuple of the namespace and name """ return "namespace", "name" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-ansible-25.1.0/tox.ini new/pytest-ansible-25.4.0/tox.ini --- old/pytest-ansible-25.1.0/tox.ini 2025-01-19 03:17:47.000000000 +0100 +++ new/pytest-ansible-25.4.0/tox.ini 2025-03-30 04:46:30.000000000 +0200 @@ -2,10 +2,11 @@ requires = tox>=4.23.2 tox-extra>=2.0.2 - tox-uv>=1.16 + tox-uv>=1.20.2 env_list = py deps + devel docs lint milestone @@ -13,8 +14,12 @@ skip_missing_interpreters = true [testenv] -description = Run pytest under {basepython} +description = + Run pytest + devel: with ansible devel branch package = editable +deps = + devel: ansible-core @ git+https://github.com/ansible/ansible.git # GPLv3+ extras = test pass_env = @@ -28,21 +33,25 @@ TERM USER set_env = - !milestone: PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt - COVERAGE_COMBINED = {envdir}/.coverage - COVERAGE_FILE = {env:COVERAGE_FILE:{envdir}/.coverage.{envname}} - COVERAGE_PROCESS_START = {toxinidir}/pyproject.toml + COVERAGE_COMBINED = {env_dir}/.coverage + COVERAGE_FILE = {env:COVERAGE_FILE:{env_dir}/.coverage.{env_name}} + COVERAGE_PROCESS_START = {tox_root}/pyproject.toml FORCE_COLOR = 1 + PIP_CONSTRAINT = {tox_root}/.config/constraints.txt PRE_COMMIT_COLOR = always TERM = xterm-256color + UV_CONSTRAINT = {tox_root}/.config/constraints.txt + deps, lint, milestone: PIP_CONSTRAINT = /dev/null + deps, lint, milestone: UV_CONSTRAINT = /dev/null commands_pre = - sh -c "rm -f {envdir}/.coverage* 2>/dev/null || true" + py: sh -c "rm -f {env_dir}/.coverage* coverage.xml 2>/dev/null || true" + py: coverage erase commands = python -c 'import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")' - coverage run -m pytest {posargs:-n auto} + coverage run -m pytest {posargs} coverage combine -q --data-file={env:COVERAGE_COMBINED} - coverage xml --data-file={env:COVERAGE_COMBINED} -o {envdir}/coverage.xml --fail-under=0 - coverage lcov --data-file={env:COVERAGE_COMBINED} -o {toxinidir}/.cache/.coverage/lcov.info --fail-under=0 + coverage xml --data-file={env:COVERAGE_COMBINED} -o {env_dir}/coverage.xml --fail-under=0 + coverage lcov --data-file={env:COVERAGE_COMBINED} -o {tox_root}/.cache/.coverage/lcov.info --fail-under=0 coverage report --data-file={env:COVERAGE_COMBINED} allowlist_externals = git @@ -56,8 +65,6 @@ deps = {[testenv:lint]deps} extras = -set_env = - PIP_CONSTRAINT = /dev/null commands_pre = commands = -pre-commit run --all-files --show-diff-on-failure --hook-stage manual deps @@ -72,19 +79,18 @@ extras = docs set_env = + DYLD_FALLBACK_LIBRARY_PATH = /opt/homebrew/lib:{env:LD_LIBRARY_PATH} NO_COLOR = 1 TERM = dump commands = - mkdocs build {posargs:} + mkdocs build {posargs:--strict --site-dir=_readthedocs/html/} [testenv:lint] -description = Enforce quality standards under {basepython} +description = Enforce quality standards skip_install = true deps = pre-commit pre-commit-uv -set_env = - PIP_CONSTRAINT = /dev/null commands = pre-commit run --show-diff-on-failure --all-files @@ -93,9 +99,6 @@ Run tests with ansible-core milestone branch and without dependencies constraints deps = ansible-core@ https://github.com/ansible/ansible/archive/milestone.tar.gz -set_env = - {[testenv]set_env} - PIP_CONSTRAINT = /dev/null [testenv:pkg] description = @@ -106,6 +109,6 @@ twine >= 4.0.2 # pyup: ignore set_env = commands = - rm -rfv {toxinidir}/dist/ - python -m build --outdir {toxinidir}/dist/ {toxinidir} - sh -c "python -m twine check --strict {toxinidir}/dist/*" + rm -rfv {tox_root}/dist/ + python -m build --outdir {tox_root}/dist/ {tox_root} + sh -c "python -m twine check --strict {tox_root}/dist/*" ++++++ pytest-ansible.obsinfo ++++++ --- /var/tmp/diff_new_pack.4bkhS1/_old 2025-04-02 17:17:33.855923996 +0200 +++ /var/tmp/diff_new_pack.4bkhS1/_new 2025-04-02 17:17:33.855923996 +0200 @@ -1,5 +1,5 @@ name: pytest-ansible -version: 25.1.0 -mtime: 1737253067 -commit: 4be84c109b63aba5efd2195d5d1646d7d2547336 +version: 25.4.0 +mtime: 1743302790 +commit: 8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7