gecko-dev/servo/python/tidy
Aneesh Agrawal 8044f8fd4e servo: Merge #19720 - Update buildbot_steps lint to handle env variables (from aneeshusa:support-env-vars-in-buildbot-steps); r=jdm
https://github.com/servo/saltfs/pull/687 added support
for specifying environment variables in `buildbot_steps.yml`.
Update the servo-tidy buildbot_steps.yml linter to reflect this.

Use the voluptuous Python library (BSD 3-clause license) for validation
in lieu of a much larger hand-written implementation.

Extracted out of #17171. Helps with servo/saltfs#770.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because they change the tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 6a6dda526961b7bb7b856e8310ffc165d8bd39aa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebdbefbc7cb6f397a0630f417c9c03e003cfc9ab
2018-01-09 11:40:27 -06:00
..
servo_tidy servo: Merge #19720 - Update buildbot_steps lint to handle env variables (from aneeshusa:support-env-vars-in-buildbot-steps); r=jdm 2018-01-09 11:40:27 -06:00
servo_tidy_tests servo: Merge #19720 - Update buildbot_steps lint to handle env variables (from aneeshusa:support-env-vars-in-buildbot-steps); r=jdm 2018-01-09 11:40:27 -06:00
HISTORY.rst servo: Merge #15731 - Update `servo-tidy` to 0.3.0 (from UK992:tidy); r=Wafflespeanut 2017-02-25 06:41:05 -08:00
Makefile servo: Merge #10653 - Cleanup tidy for external deps (from askeing:cleanup_tidy_for_external_deps); r=edunham 2016-04-19 01:52:01 +05:01
README.rst servo: Merge #15731 - Update `servo-tidy` to 0.3.0 (from UK992:tidy); r=Wafflespeanut 2017-02-25 06:41:05 -08:00
setup.py servo: Merge #15731 - Update `servo-tidy` to 0.3.0 (from UK992:tidy); r=Wafflespeanut 2017-02-25 06:41:05 -08:00

README.rst

servo_tidy
==========

Servo's code and license checker.

Installation
++++++++++++

Install from PyPI:

::

  pip install servo-tidy

or from git:

::

  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