Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Commit 1e596be

Browse files
committed
Move annotation-only conftest imports
1 parent d7fd3ec commit 1e596be

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎conftest.py‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""Setup for Sybil."""
22

3-
import io # noqa: TC003
3+
from __future__ import annotations
4+
45
import uuid
5-
from collections.abc import Generator # noqa: TC003
66
from doctest import ELLIPSIS
77
from pathlib import Path
8+
from typing import TYPE_CHECKING
89

910
import pytest
1011
from mock_vws import MockVWS
@@ -16,6 +17,10 @@
1617
PythonCodeBlockParser,
1718
)
1819

20+
if TYPE_CHECKING:
21+
import io
22+
from collections.abc import Generator
23+
1924

2025
@pytest.fixture(name="make_image_file")
2126
def fixture_make_image_file(

0 commit comments

Comments
 (0)