mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01: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> |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
licenseck.py | ||
linting_report.py | ||
test.py | ||
tidy.py |