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, )