mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Applied a bunch of suggestions from Simon.
This commit is contained in:
parent
d0489f1160
commit
4643737a1b
11 changed files with 384 additions and 389 deletions
|
@ -277,9 +277,7 @@ def check_toml(file_name, lines):
|
|||
|
||||
def check_rust(file_name, lines):
|
||||
if not file_name.endswith(".rs") or \
|
||||
file_name.endswith("properties.mako.rs") or \
|
||||
file_name.find("properties/longhand") or \
|
||||
file_name.find("properties/shorthand") or \
|
||||
file_name.endswith(".mako.rs") or \
|
||||
file_name.endswith(os.path.join("style", "build.rs")) or \
|
||||
file_name.endswith(os.path.join("geckolib", "build.rs")) or \
|
||||
file_name.endswith(os.path.join("unit", "style", "stylesheets.rs")):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue