-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
- Summary
- Add parameter and return type annotations to all functions in `dictionary.py` (5 functions + 1 inner function) and `jscomment.py` (2 functions)
- `dictionary.py` uses `Any` for `merge_dicts` params since it handles both MutableMapping and non-MutableMapping inputs
- `jscomment.py` accepts `str | bytes` for `_strip_jscomments` matching the existing runtime check
- Part of an incremental effort to add type hints across resmoke Python code
-
- Test plan
- [x] All modified files pass `python -m py_compile`
- [ ] Verify resmoke `core` suite still passes with these changes
Generated with [Claude Code](https://claude.com/claude-code)