Skip to content

Commit

Permalink
Fix pre-commits
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Nov 19, 2024
1 parent 1dc5590 commit 0bd3b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/fmf_jinja/generators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Generators that consume the template and its data.
"""

from __future__ import annotations

import abc
Expand Down Expand Up @@ -52,7 +53,7 @@ def tree(self) -> Tree:
return self.ctx.tree

@functools.cached_property
def vars(self) -> dict[str, DataType]: # noqa: A003
def vars(self) -> dict[str, DataType]:
"""
Data variables used in the jinja template generation.
Expand Down
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class TreeFixture:
expected_path: PathComp


@pytest.fixture()
@pytest.fixture
def fmf_tree(tmp_path: Path, request: SubRequest) -> TreeFixture:
path = Path(request.param)
tree_path = DIR / "data/input" / path
Expand Down

0 comments on commit 0bd3b2d

Please sign in to comment.