aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-12-02 19:11:08 +0100
committerSimon Sapin <simon.sapin@exyr.org>2015-12-02 19:11:08 +0100
commitb8a3a646919b871620aeedffe48b97ac4fe4b0df (patch)
treecd682098dc44c9aacd5048a5e759531e70de2bf3 /python/tidy.py
parentaa1eba4f5a28cd60720271e541745545e6b0337b (diff)
downloadservo-b8a3a646919b871620aeedffe48b97ac4fe4b0df.tar.gz
servo-b8a3a646919b871620aeedffe48b97ac4fe4b0df.zip
Tidy ports/cef/Cargo.lock
Despite the rest of ports/cef/ being ignored.
Diffstat (limited to 'python/tidy.py')
-rw-r--r--python/tidy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy.py b/python/tidy.py
index 034fb91d93e..659cf01b6d0 100644
--- a/python/tidy.py
+++ b/python/tidy.py
@@ -48,6 +48,8 @@ ignored_files = [
def should_check(file_name):
+ if os.path.basename(file_name) == "Cargo.lock":
+ return True
if ".#" in file_name:
return False
if os.path.splitext(file_name)[1] not in filetypes_to_check: