Files
servo/etc
Keerti Gupta this side!! a1e269675d mach: enable type checking for etc/ci python files (#42659)
This enables type checking for Python files under etc/ci by adding
etc/ci/*.py to pyrefly's project-includes in pyproject.toml.

Enabling these checks surfaced a few type issues, which are addressed
here :

a) Use text=True in subprocess usage to avoid bytes/str mismatches
b) Remove unnecessary encode/decode calls
c) Guard against None stdout in chaos_monkey_test.py
d) Suppress unresolved optional imports in upload_nightly.py
    (runtime dependencies declared via uv script metadata)

After these changes, ./mach test-tidy passes successfully locally.

Fixes: #42653

Signed-off-by: Keerti Gupta <24bsm032@iiitdmj.ac.in>
2026-02-17 07:13:39 +00:00
..
2025-11-13 08:48:01 +00:00
2014-09-08 20:21:42 -06:00