Skip to content

Commit 06c6632

Browse files
committed
Mypy fix
1 parent 556f9a9 commit 06c6632

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
2+
from typing import Iterable
23
from pathlib import Path
34

45
from mkdocstrings_python_generator.files_generator import FilesGenerator
@@ -10,7 +11,7 @@ def example_files() -> Path:
1011

1112

1213
@pytest.fixture()
13-
def files_generator(tmp_path: Path) -> FilesGenerator:
14+
def files_generator(tmp_path: Path) -> Iterable[FilesGenerator]:
1415
generator = FilesGenerator(str(tmp_path / "destination"), use_directory_urls=True)
1516
yield generator
1617
generator.cleanup()

0 commit comments

Comments
 (0)