Skip to content

Commit 264a278

Browse files
chore: pre-commit autoupdate (#415)
* chore: pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.2](astral-sh/ruff-pre-commit@v0.6.9...v0.7.2) - [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.13.0](pre-commit/mirrors-mypy@v1.11.2...v1.13.0) * 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> Co-authored-by: Sorin Sbarnea <[email protected]>
1 parent 1f01f44 commit 264a278

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude: |
2222
)$
2323
repos:
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: "v0.6.9"
25+
rev: "v0.7.2"
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]
@@ -68,12 +68,12 @@ repos:
6868
types: [file, yaml]
6969
entry: yamllint --strict
7070
- repo: https://github.com/psf/black
71-
rev: 24.8.0
71+
rev: 24.10.0
7272
hooks:
7373
- id: black
7474
language_version: python3
7575
- repo: https://github.com/pre-commit/mirrors-mypy
76-
rev: v1.11.2
76+
rev: v1.13.0
7777
hooks:
7878
- id: mypy
7979
# empty args needed in order to match mypy cli behavior

test/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from ansible_compat.runtime import Runtime
1515

1616

17-
@pytest.fixture()
17+
@pytest.fixture
1818
# pylint: disable=unused-argument
1919
def runtime(scope: str = "session") -> Generator[Runtime, None, None]: # noqa: ARG001
2020
"""Isolated runtime fixture."""
@@ -23,7 +23,7 @@ def runtime(scope: str = "session") -> Generator[Runtime, None, None]: # noqa:
2323
instance.clean()
2424

2525

26-
@pytest.fixture()
26+
@pytest.fixture
2727
# pylint: disable=unused-argument
2828
def runtime_tmp(
2929
tmp_path: pathlib.Path,
@@ -44,7 +44,7 @@ def query_pkg_version(pkg: str) -> str:
4444
return importlib.metadata.version(pkg)
4545

4646

47-
@pytest.fixture()
47+
@pytest.fixture
4848
def pkg_version() -> Callable[[str], str]:
4949
"""Get the version of a current installed package.
5050

0 commit comments

Comments
 (0)