mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
Currently, our implementation for each line-checking function reads the file as bytes, so we need to properly decode each line to UTF-8 before evaluating it. This ensures it is counted as a string and not as bytes Testing: I tested by changing the comment like the issue above and it not give an error Fixes: #38237 Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This directory contains various Python modules used to support servo development.
servo
servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.
tidy
servo-tidy is used to check licenses, line lengths, whitespace, ruff on Python files, lock file versions, and more.
wpt
servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.