Skip to content

Commit 36077dd

Browse files
chore: pre-commit autoupdate (#262)
* chore: pre-commit autoupdate updates: - [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0) - [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/streetsidesoftware/cspell-cli: v8.13.3 → v8.15.2](streetsidesoftware/cspell-cli@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>
1 parent 3347ccd commit 36077dd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repos:
4444
- prettier-plugin-sort-json
4545

4646
- repo: https://github.com/psf/black
47-
rev: 24.8.0
47+
rev: 24.10.0
4848
hooks:
4949
- id: black
5050

@@ -59,14 +59,14 @@ repos:
5959
- id: tox-ini-fmt
6060

6161
- repo: https://github.com/astral-sh/ruff-pre-commit
62-
rev: v0.6.9
62+
rev: v0.7.2
6363
hooks:
6464
- id: ruff
6565
args:
6666
- --exit-non-zero-on-fix
6767

6868
- repo: https://github.com/streetsidesoftware/cspell-cli
69-
rev: v8.13.3
69+
rev: v8.15.2
7070
hooks:
7171
- id: cspell
7272
name: Spell check with cspell
@@ -93,7 +93,7 @@ repos:
9393
- tox
9494

9595
- repo: https://github.com/pre-commit/mirrors-mypy.git
96-
rev: v1.11.2
96+
rev: v1.13.0
9797
hooks:
9898
- id: mypy
9999
additional_dependencies:

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
REQS_FILE_NAME = "requirements.yml"
4848

4949

50-
@pytest.fixture()
50+
@pytest.fixture
5151
def galaxy_cache() -> Path:
5252
"""Return the galaxy cache directory.
5353
@@ -145,7 +145,7 @@ def fixture_session_dir() -> Generator[Path, None, None]:
145145
shutil.rmtree(temp_dir)
146146

147147

148-
@pytest.fixture()
148+
@pytest.fixture
149149
def installable_local_collection(tmp_path: Path) -> Path:
150150
"""Provide a local collection that can be installed.
151151
@@ -218,7 +218,7 @@ def session_venv(session_dir: Path, monkey_session: pytest.MonkeyPatch) -> Confi
218218
return cli.config
219219

220220

221-
@pytest.fixture()
221+
@pytest.fixture
222222
def function_venv(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Config:
223223
"""Create a temporary venv for the session.
224224

tests/unit/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pathlib import Path
1515

1616

17-
@pytest.fixture()
17+
@pytest.fixture
1818
def output(tmp_path: Path) -> Output:
1919
"""Create an Output class object as fixture.
2020

0 commit comments

Comments
 (0)