Skip to content

Commit ea22cff

Browse files
Expand core type-helper guard coverage to transport modules
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 7ff0352 commit ea22cff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ This runs lint, format checks, compile checks, tests, and package build.
9090
- `tests/test_plain_type_guard_usage.py` (`str`/`int` guardrail enforcement via plain-type checks),
9191
- `tests/test_type_utils_usage.py` (type `__mro__` boundary centralization in `hyperbrowser/type_utils.py`),
9292
- `tests/test_polling_loop_usage.py` (`while True` polling-loop centralization in `hyperbrowser/client/polling.py`),
93-
- `tests/test_core_type_helper_usage.py` (core-module enforcement of shared plain-type helper usage).
93+
- `tests/test_core_type_helper_usage.py` (core transport/config/polling/session module enforcement of shared plain-type helper usage).
9494

9595
## Code quality conventions
9696

tests/test_core_type_helper_usage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"hyperbrowser/header_utils.py",
1212
"hyperbrowser/client/base.py",
1313
"hyperbrowser/client/polling.py",
14+
"hyperbrowser/models/session.py",
15+
"hyperbrowser/transport/base.py",
16+
"hyperbrowser/transport/sync.py",
17+
"hyperbrowser/transport/async_transport.py",
1418
)
1519

1620
_PLAIN_TYPE_CHECK_PATTERN = re.compile(

0 commit comments

Comments
 (0)