From 36077dddd36d502e4a06ec8f375a942896d1ee08 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:59:23 +0000 Subject: [PATCH] chore: pre-commit autoupdate (#262) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: pre-commit autoupdate updates: - [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.2) - [github.com/streetsidesoftware/cspell-cli: v8.13.3 → v8.15.2](https://github.com/streetsidesoftware/cspell-cli/compare/v8.13.3...v8.15.2) - [github.com/pre-commit/mirrors-mypy.git: v1.11.2 → v1.13.0](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.11.2...v1.13.0) * chore: auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 8 ++++---- tests/conftest.py | 6 +++--- tests/unit/conftest.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d145527..8ec5e77 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,7 @@ repos: - prettier-plugin-sort-json - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black @@ -59,14 +59,14 @@ repos: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.7.2 hooks: - id: ruff args: - --exit-non-zero-on-fix - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.3 + rev: v8.15.2 hooks: - id: cspell name: Spell check with cspell @@ -93,7 +93,7 @@ repos: - tox - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: diff --git a/tests/conftest.py b/tests/conftest.py index e09cb93..fee8c1b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -47,7 +47,7 @@ REQS_FILE_NAME = "requirements.yml" -@pytest.fixture() +@pytest.fixture def galaxy_cache() -> Path: """Return the galaxy cache directory. @@ -145,7 +145,7 @@ def fixture_session_dir() -> Generator[Path, None, None]: shutil.rmtree(temp_dir) -@pytest.fixture() +@pytest.fixture def installable_local_collection(tmp_path: Path) -> Path: """Provide a local collection that can be installed. @@ -218,7 +218,7 @@ def session_venv(session_dir: Path, monkey_session: pytest.MonkeyPatch) -> Confi return cli.config -@pytest.fixture() +@pytest.fixture def function_venv(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Config: """Create a temporary venv for the session. diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 56744a9..563e6bd 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -14,7 +14,7 @@ from pathlib import Path -@pytest.fixture() +@pytest.fixture def output(tmp_path: Path) -> Output: """Create an Output class object as fixture.