mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02: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'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 ```