From 01c91c67ca17beb4c27b84ac168cb512ca2dd3a1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:14:13 +0100 Subject: [PATCH] chore: pre-commit autoupdate (#329) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.284...v0.0.287) - [github.com/pre-commit/mirrors-prettier: v3.0.1 → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.1...v3.0.3) - [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.5.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.4.1...v1.5.1) - [github.com/pycqa/pylint: v3.0.0a6 → v3.0.0a7](https://github.com/pycqa/pylint/compare/v3.0.0a6...v3.0.0a7) * chore: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 8 ++++---- src/ansible_compat/runtime.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 02ea72ab..a1273f0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,13 +21,13 @@ exclude: | )$ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.284" + rev: "v0.0.287" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-prettier # keep it before yamllint - rev: "v3.0.1" + rev: "v3.0.3" hooks: - id: prettier additional_dependencies: @@ -67,7 +67,7 @@ repos: - id: black language_version: python3 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.4.1 + rev: v1.5.1 hooks: - id: mypy # empty args needed in order to match mypy cli behavior @@ -84,7 +84,7 @@ repos: - types-pkg_resources - types-jsonschema>=4.4.9 - repo: https://github.com/pycqa/pylint - rev: v3.0.0a6 + rev: v3.0.0a7 hooks: - id: pylint additional_dependencies: diff --git a/src/ansible_compat/runtime.py b/src/ansible_compat/runtime.py index 28500bae..a13d5148 100644 --- a/src/ansible_compat/runtime.py +++ b/src/ansible_compat/runtime.py @@ -244,7 +244,7 @@ def _add_sys_path_to_collection_paths(self) -> None: path not in self.config.collections_paths and (Path(path) / "ansible_collections").is_dir() ): - self.config.collections_paths.append( # noqa: PERF401 pylint: disable=E1101 + self.config.collections_paths.append( # pylint: disable=E1101 path, )