servo/python/tidy
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
..
servo_tidy Auto merge of #14051 - birryree:tidy-check-buildbot-steps, r=aneeshusa 2016-12-08 17:39:44 -08:00
servo_tidy_tests Auto merge of #14051 - birryree:tidy-check-buildbot-steps, r=aneeshusa 2016-12-08 17:39:44 -08:00
HISTORY.rst Improve tidy's license validation logic 2016-08-12 13:32:09 +02:00
Makefile bump the minor version of servo_tidy 2016-04-17 04:33:24 +09:00
README.rst update docs with test command 2016-10-02 14:41:03 +08:00
setup.py bump Tidy version no 2016-08-29 15:43:45 -07:00

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
```