Skip to content

Commit bb836e7

Browse files
committed
adding type hint
1 parent d4d24b5 commit bb836e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from datetime import datetime
2+
from typing import Callable
23
from uuid import uuid4
34

45
import pytest
@@ -12,7 +13,7 @@ def _generate_unique_detector_name(prefix: str = "Test") -> str:
1213

1314

1415
@pytest.fixture(name="detector_name")
15-
def fixture_detector_name():
16+
def fixture_detector_name() -> Callable[..., str]:
1617
"""Fixture that provides a callable to generate unique detector names."""
1718
return _generate_unique_detector_name
1819

0 commit comments

Comments
 (0)