mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Adding linting checks for buildbot_steps.yml 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. <!-- 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/14051) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
dir_check | ||
lints | ||
test_ignored/whee | ||
__init__.py | ||
apache2_license.rs | ||
Cargo.toml | ||
duplicate_key.json | ||
duplicate_keys_buildbot_steps.yml | ||
duplicated_package.lock | ||
empty_file.rs | ||
incorrect_license.rs | ||
lib.rs | ||
long_line.rs | ||
malformed_json.json | ||
modeline.txt | ||
non_list_mapping_buildbot_steps.yml | ||
non_string_list_buildbot_steps.yml | ||
rust_tidy.rs | ||
servo-tidy.toml | ||
shebang_license.py | ||
shell_tidy.sh | ||
spec.webidl | ||
speclink.rs | ||
test_tidy.py | ||
unordered_key.json | ||
whatwg_link.rs | ||
wrong_space.rs |