aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 73fac648b76..873627c61d5 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -256,8 +256,10 @@ class MachCommands(CommandBase):
@Command('test-tidy',
description='Run the source code tidiness check',
category='testing')
- def test_tidy(self):
- return tidy.scan()
+ @CommandArgument('--faster', default=False, action="store_true",
+ help="Only check changed files and skip the WPT lint")
+ def test_tidy(self, faster):
+ return tidy.scan(faster)
@Command('test-wpt-failure',
description='Run the web platform tests',