servo/python/tidy/servo_tidy_tests
bors-servo 21ad1c2109 Auto merge of #14051 - birryree:tidy-check-buildbot-steps, r=aneeshusa
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 -->
2016-12-08 17:39:44 -08:00
..
dir_check tidy: checking directories for unexpected file extensions 2016-10-02 14:40:28 +08:00
lints Add tests for the new LintRunner 2016-11-11 19:54:34 +05:30
test_ignored/whee Added a subdirectory with a file to test whether tidy command ignores files in subdirectories 2016-07-07 15:08:41 +05:30
__init__.py Package tidy 2016-04-14 15:55:25 +08:00
apache2_license.rs Improve tidy's license validation logic 2016-08-12 13:32:09 +02:00
Cargo.toml Check for license only in Cargo.toml 2016-08-25 06:50:23 +02:00
duplicate_key.json [tidy] check for duplicate keys in .json files 2016-07-08 11:12:12 +02:00
duplicate_keys_buildbot_steps.yml Add tidy linting checks for buildbot_steps.yml 2016-12-08 20:36:13 -05:00
duplicated_package.lock Test for tidy.check_lock function #9152 2016-04-25 08:32:52 +02:00
empty_file.rs Tidy: Handle empty files 2016-08-29 18:33:03 +02:00
incorrect_license.rs Package tidy 2016-04-14 15:55:25 +08:00
lib.rs Tests alphabetical ordering of #![feature(...)] 2016-11-01 11:35:39 +05:30
long_line.rs Package tidy 2016-04-14 15:55:25 +08:00
malformed_json.json [tidy] Add test for existing json functionality 2016-07-07 17:07:03 +02:00
modeline.txt tidy check for vim and emacs modelines. 2016-04-21 17:52:09 +02:00
non_list_mapping_buildbot_steps.yml Add tidy linting checks for buildbot_steps.yml 2016-12-08 20:36:13 -05:00
non_string_list_buildbot_steps.yml Add tidy linting checks for buildbot_steps.yml 2016-12-08 20:36:13 -05:00
rust_tidy.rs test-tidy: Check for space between function name and ( 2016-10-31 18:11:35 +01:00
servo-tidy.toml Check for errors in tidy config file 2016-08-20 22:51:46 +02:00
shebang_license.py Check for blank line after shebang and grab actual comment block instead of hard-coded one 2016-08-12 13:34:38 +02:00
shell_tidy.sh Add lint for [ instead of [[ in shells scripts 2016-08-05 09:42:04 -04:00
spec.webidl Package tidy 2016-04-14 15:55:25 +08:00
speclink.rs Package tidy 2016-04-14 15:55:25 +08:00
test_tidy.py Auto merge of #14051 - birryree:tidy-check-buildbot-steps, r=aneeshusa 2016-12-08 17:39:44 -08:00
unordered_key.json Check for JSON key non-duplication and order 2016-11-07 19:02:22 +11:00
whatwg_link.rs Package tidy 2016-04-14 15:55:25 +08:00
wrong_space.rs Package tidy 2016-04-14 15:55:25 +08:00