From f659be9f36e143b393a8ace8a7520a5655108d04 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:44:54 +0000 Subject: [PATCH 1/2] chore: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.6.3) - [github.com/streetsidesoftware/cspell-cli: v8.13.1 → v8.13.3](https://github.com/streetsidesoftware/cspell-cli/compare/v8.13.1...v8.13.3) - [github.com/pycqa/pylint.git: v3.2.6 → v3.2.7](https://github.com/pycqa/pylint.git/compare/v3.2.6...v3.2.7) - [github.com/pre-commit/mirrors-mypy.git: v1.11.1 → v1.11.2](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.11.1...v1.11.2) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf722c6..3013a84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,14 +59,14 @@ repos: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.3 hooks: - id: ruff args: - --exit-non-zero-on-fix - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.1 + rev: v8.13.3 hooks: - id: cspell name: Spell check with cspell @@ -80,7 +80,7 @@ repos: pass_filenames: false - repo: https://github.com/pycqa/pylint.git - rev: v3.2.6 + rev: v3.2.7 hooks: - id: pylint args: @@ -93,7 +93,7 @@ repos: - tox - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy additional_dependencies: From a21f5f4ff649911e19900e4e3c0605cd837dfeda Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:47:22 +0000 Subject: [PATCH 2/2] chore: auto fixes from pre-commit.com hooks --- tests/unit/test_installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_installer.py b/tests/unit/test_installer.py index 3acec1c..bd49f58 100644 --- a/tests/unit/test_installer.py +++ b/tests/unit/test_installer.py @@ -369,7 +369,7 @@ def test_editable_not_local( config=config, ) - def install_core(self: Installer) -> None: # noqa: ARG001 + def install_core(self: Installer) -> None: """Don't install core. Args: @@ -1195,7 +1195,7 @@ def test_local_collection_without_tar_install( installer.run() pre_mtime = os.lstat(config.site_pkg_collections_path / "ansible" / "posix").st_mtime - def install_local_collection(self: Installer, collection: Collection) -> None: # noqa: ARG001 + def install_local_collection(self: Installer, collection: Collection) -> None: """Do nothing. Args: