diff options
author | Per Lundberg <perlun@gmail.com> | 2016-04-21 22:42:15 +0300 |
---|---|---|
committer | Per Lundberg <perlun@gmail.com> | 2016-04-21 22:42:35 +0300 |
commit | 4643737a1bc7922ec5e7e346a490e642f89ed052 (patch) | |
tree | 5f238c6a7c940ad2705cbe5b5e072c9e84c1543b /python/tidy/servo_tidy/tidy.py | |
parent | d0489f1160419570b692a8729184ed833c93a433 (diff) | |
download | servo-4643737a1bc7922ec5e7e346a490e642f89ed052.tar.gz servo-4643737a1bc7922ec5e7e346a490e642f89ed052.zip |
Applied a bunch of suggestions from Simon.
Diffstat (limited to 'python/tidy/servo_tidy/tidy.py')
-rw-r--r-- | python/tidy/servo_tidy/tidy.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index 12a8633297f..0baa11dfe90 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -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")): |