Moved tidy's BLOCKED_PACKAGES to the config file

This commit is contained in:
Matthias Devlamynck 2017-01-14 14:07:46 +01:00
parent 655a9fd7ce
commit a7a2efea5c
3 changed files with 28 additions and 23 deletions

View file

@ -8,6 +8,26 @@ lint-scripts = [
"./python/servo/lints/wpt_lint.py",
]
# Packages which we avoid using in Servo.
# For each blocked package, we can list the exceptions,
# which are packages allowed to use the blocked package.
[blocked-packages]
rand = [
"deque",
"gaol",
"ipc-channel",
"num-bigint",
"parking_lot_core",
"phf_generator",
"rayon",
"servo_rand",
"tempdir",
"tempfile",
"uuid",
"websocket",
"ws",
]
[ignore]
# Ignored packages with duplicated versions
packages = ["bitflags", "byteorder", "lazy_static", "semver", "libloading"]