Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#329)
Browse files Browse the repository at this point in the history
* chore: pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.287](astral-sh/ruff-pre-commit@v0.0.284...v0.0.287)
- [github.com/pre-commit/mirrors-prettier: v3.0.1 → v3.0.3](pre-commit/mirrors-prettier@v3.0.1...v3.0.3)
- [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.5.1](pre-commit/mirrors-mypy@v1.4.1...v1.5.1)
- [github.com/pycqa/pylint: v3.0.0a6 → v3.0.0a7](pylint-dev/pylint@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>
  • Loading branch information
pre-commit-ci[bot] authored Sep 5, 2023
1 parent 5427df4 commit 01c91c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/ansible_compat/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 01c91c6

Please sign in to comment.