diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-12 11:06:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-12 11:06:27 -0600 |
commit | 290a1696dc6b16c421a40dc08abdc072a2fb4cf2 (patch) | |
tree | fcc20a84eb9dc551502ebbddc692f8309ad5b3e1 /components/script/dom/node.rs | |
parent | f04033a13972faea9efd9689e6949406241ca85f (diff) | |
parent | 34955e0bf882efdd61fde3708495fbf75734c8bc (diff) | |
download | servo-290a1696dc6b16c421a40dc08abdc072a2fb4cf2.tar.gz servo-290a1696dc6b16c421a40dc08abdc072a2fb4cf2.zip |
Auto merge of #14166 - Wafflespeanut:tidy, r=frewsxcv
Allow tidy to run custom project-specific lints
<!-- Please describe your changes on the following line: -->
Since tidy is a package, it shouldn't contain our WPT lint. This PR changes the file list generator (we already have) into an object, and allows tidy to run custom python lint scripts (specified in the config file) under the context of `LintRunner`. The errors are then chained into our mechanism.
r? @frewsxcv (cc @jdm @edunham @aneeshusa and anyone else interested in reviewing it)
---
<!-- 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
<!-- Either: -->
- [x] There are tests for these changes
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/14166)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/node.rs')
0 files changed, 0 insertions, 0 deletions