Skip to content

Commit 0dbe507

Browse files
Expand core helper guard to parsing utility modules
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 30ef046 commit 0dbe507

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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 transport/config/header/file/polling/session/error module enforcement of shared plain-type helper usage).
93+
- `tests/test_core_type_helper_usage.py` (core transport/config/header/file/polling/session/error/parsing module enforcement of shared plain-type helper usage).
9494

9595
## Code quality conventions
9696

tests/test_core_type_helper_usage.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
"hyperbrowser/transport/sync.py",
1818
"hyperbrowser/transport/async_transport.py",
1919
"hyperbrowser/transport/error_utils.py",
20+
"hyperbrowser/mapping_utils.py",
21+
"hyperbrowser/client/managers/response_utils.py",
22+
"hyperbrowser/client/managers/extension_utils.py",
23+
"hyperbrowser/client/managers/list_parsing_utils.py",
24+
"hyperbrowser/display_utils.py",
25+
"hyperbrowser/exceptions.py",
2026
)
2127

2228
_PLAIN_TYPE_CHECK_PATTERN = re.compile(

0 commit comments

Comments
 (0)