aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-04-22 02:19:28 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-04-22 02:19:28 +0530
commit69acd8e1ccba8ff01e8f7fde4305956ba5ab866d (patch)
treef311a1fc4bbdbd09d1a3754daf313079e2032fbb /python/tidy
parent98ae238adf8a5fa84ac60efbabf137b70804f09e (diff)
parent4643737a1bc7922ec5e7e346a490e642f89ed052 (diff)
downloadservo-69acd8e1ccba8ff01e8f7fde4305956ba5ab866d.tar.gz
servo-69acd8e1ccba8ff01e8f7fde4305956ba5ab866d.zip
Auto merge of #10774 - perlun:improve-mako-file-structure-v2, r=SimonSapin
Improve properties.mako.rs file structure, take 2 This is a new attempt of #10586, after Simon Sapin's great cleanups in #10749 has landed. I have adjusted the changes to the new structure that was introduced, and also only done a few of the longhand ones. Will certainly continue on this as soon as we have a basic agreement that this style is reasonable. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10774) <!-- Reviewable:end -->
Diffstat (limited to 'python/tidy')
-rw-r--r--python/tidy/servo_tidy/tidy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py
index 206346675e2..0baa11dfe90 100644
--- a/python/tidy/servo_tidy/tidy.py
+++ b/python/tidy/servo_tidy/tidy.py
@@ -277,7 +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.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")):