Skip to content

Commit

Permalink
Update pre-commit hooks (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA authored Aug 23, 2024
1 parent 9b18385 commit 5b4b4fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
- id: docs-landing-page

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.1
hooks:
- id: ruff
args:
Expand Down
8 changes: 4 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def top_dir() -> Path:
return Path(__file__).resolve().parent.parent


@pytest.fixture()
@pytest.fixture
def simple_turtle_file(top_dir: Path) -> Path:
"""Load and return `Path` object to a simple Turtle file."""
import os
Expand All @@ -39,7 +39,7 @@ def simple_turtle_file(top_dir: Path) -> Path:
)


@pytest.fixture()
@pytest.fixture
def single_turtle_permutations(top_dir: Path) -> list[Path]:
"""Yield list of a single turtle file and permutations of it.
Expand All @@ -66,7 +66,7 @@ def single_turtle_permutations(top_dir: Path) -> list[Path]:
)


@pytest.fixture()
@pytest.fixture
def tmp_dir() -> Path:
"""Open and yield a temporary directory."""
import os
Expand All @@ -83,7 +83,7 @@ def tmp_dir() -> Path:
)


@pytest.fixture()
@pytest.fixture
def different_sources_ontologies(top_dir: Path) -> list[Path]:
"""Yield list of Turtle files generated using different tools, i.e., coming from
different sources."""
Expand Down

0 comments on commit 5b4b4fc

Please sign in to comment.