Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exclude_also = [

[tool.mypy]
ignore_missing_imports = false
implicit_reexport = true
implicit_reexport = false

[[tool.mypy.overrides]]
module = "tests.*"
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ commands =
deps =
mypy==1.16.1
aiohttp==3.12.13
andi==0.8.0
pytest==8.4.1
types-requests==2.32.4.20250611
types-python-dateutil==2.9.0.20250516
url-matcher==0.6.0
zyte-common-items==0.27.0
zyte-common-items==0.29.0

commands = mypy web_poet tests

Expand Down
17 changes: 17 additions & 0 deletions web_poet/page_inputs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,20 @@
from .response import AnyResponse
from .stats import Stats
from .url import RequestUrl, ResponseUrl

__all__ = [
"AnyResponse",
"BrowserHtml",
"BrowserResponse",
"HttpClient",
"HttpRequest",
"HttpRequestBody",
"HttpRequestHeaders",
"HttpResponse",
"HttpResponseBody",
"HttpResponseHeaders",
"PageParams",
"RequestUrl",
"ResponseUrl",
"Stats",
]
14 changes: 14 additions & 0 deletions web_poet/serialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,17 @@
serialize,
serialize_leaf,
)

__all__ = [
"DeserializeFunction",
"SerializeFunction",
"SerializedData",
"SerializedDataFileStorage",
"SerializedLeafData",
"deserialize",
"deserialize_leaf",
"load_class",
"register_serialization",
"serialize",
"serialize_leaf",
]
2 changes: 2 additions & 0 deletions web_poet/testing/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .fixture import Fixture

__all__ = ["Fixture"]