Skip to content

Commit 1f16f1c

Browse files
committed
Silence mypy import-untyped warning for requests
CI runs `uvx mypy src` in an isolated environment that does not honor the project's `ignore_missing_imports=true` setting in pyproject.toml. Add an inline type: ignore on the `requests` import rather than broadening CI or adding `types-requests` just for a single import.
1 parent d51c43e commit 1f16f1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pytest_plone/fixtures/requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from urllib.parse import urlparse
99

1010
import pytest
11-
import requests
11+
import requests # type: ignore[import-untyped]
1212

1313

1414
_ROLE_AUTH: dict[str, tuple[str, str] | None] = {

0 commit comments

Comments
 (0)