Skip to content

Commit

Permalink
add type to fixture
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
  • Loading branch information
InvincibleRMC committed Sep 16, 2024
1 parent a9db952 commit 2b60f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosidl_cli/test/rosidl_cli/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import json
import os
import pathlib
from typing import Iterable
from typing import Iterable, Type

import pytest

Expand All @@ -38,7 +38,7 @@ def test_interface_path_as_tuple() -> None:


@pytest.fixture
def current_path(request) -> Iterable[pathlib.Path]:
def current_path(request: pytest.FixtureRequest) -> Iterable[pathlib.Path]:
path = pathlib.Path(request.module.__file__)
path = path.resolve()
path = path.parent
Expand Down

0 comments on commit 2b60f34

Please sign in to comment.