aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-09-15 21:32:40 -0400
committerGitHub <noreply@github.com>2018-09-15 21:32:40 -0400
commit1e1eca07edac2b842751e7182cc641a84bef52bc (patch)
treec2e81ed1ece5ceaab12c7747f1de8a6134eb726a
parent6c2f41bd0e05f94c12a5f2c1629e7bc28e7b0505 (diff)
parent986b3024c51ddc6956b633280f9db270f38e10fa (diff)
downloadservo-1e1eca07edac2b842751e7182cc641a84bef52bc.tar.gz
servo-1e1eca07edac2b842751e7182cc641a84bef52bc.zip
Auto merge of #21726 - atouchet:tidy, r=asajeffrey
More servo-tidy.toml cleanup <!-- Please describe your changes on the following line: --> --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/21726) <!-- Reviewable:end -->
-rw-r--r--servo-tidy.toml17
1 files changed, 7 insertions, 10 deletions
diff --git a/servo-tidy.toml b/servo-tidy.toml
index fbbd53140c3..ac4cf0d345d 100644
--- a/servo-tidy.toml
+++ b/servo-tidy.toml
@@ -13,23 +13,20 @@ lint-scripts = [
# For each blocked package, we can list the exceptions,
# which are packages allowed to use the blocked package.
[blocked-packages]
+num = []
rand = [
"crossbeam-channel", # Used to initialize a thread-local
"gaol",
- "hashglobe", # only uses in tests
+ "hashglobe", # Only used in tests
"ipc-channel",
"parking_lot_core",
"phf_generator",
- "rayon",
+ "rand",
"rayon-core",
"servo_rand",
"tempfile",
"uuid",
"ws",
- "rand",
-]
-num = [
- "chrono",
]
[ignore]
@@ -39,15 +36,15 @@ packages = [
"crossbeam-epoch",
"crossbeam-utils",
"log",
- #TODO: remove num-rational when https://github.com/PistonDevelopers/image/pull/809 is merged.
+ # TODO: remove num-rational when https://github.com/PistonDevelopers/image/pull/809 is merged.
"num-rational",
+ "proc-macro2",
+ "quote",
"rand",
- "winapi",
# TODO: remove slab when #21426 lands
"slab",
"syn",
- "quote",
- "proc-macro2",
+ "winapi",
]
# Files that are ignored for all tidy and lint checks.
files = [