mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Tidy: Handle empty files Fix index error ``list index out of range``, when file is empty. r? @Wafflespeanut --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13107) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
servo_tidy | ||
servo_tidy_tests | ||
HISTORY.rst | ||
Makefile | ||
README.rst | ||
setup.py |
servo_tidy ========== Servo's code and license checker. Install from PyPI (coming soon) or ``` pip install -e git+https://github.com/servo/servo.git#egg=servo_tidy&subdirectory=python/tidy ```