mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
3ab1743159
This pull request adds some tidy checks around YAML files, and specifically `buildbot_steps.yml`. Tidy checks added: * YAML files are checked for well-formedness/parse-ability * Whether a YAML file has duplicate keys * Whether a `buildbot_steps.yml` file contains only mappings to list-of-strings. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #13838 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> …ing checking for correct mappings and duplicate YAML keys. Added unit tests to test_tidy.py. Source-Repo: https://github.com/servo/servo Source-Revision: 21ad1c210997daba82ec49e1572c7b0634b6f337 |
||
---|---|---|
.. | ||
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 ``` To run the tests ++++++++++++++++ ``` ./mach test-tidy --self-test ```