From b8a3a646919b871620aeedffe48b97ac4fe4b0df Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 2 Dec 2015 19:11:08 +0100 Subject: [PATCH] Tidy ports/cef/Cargo.lock Despite the rest of ports/cef/ being ignored. --- ports/cef/Cargo.lock | 10 +--------- python/tidy.py | 2 ++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index e0cab89570b..199e1c77e3c 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -304,14 +304,6 @@ dependencies = [ "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "core-foundation" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "core-foundation" version = "0.2.0" @@ -1626,7 +1618,7 @@ dependencies = [ "android_glue 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "cocoa 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "core-foundation 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "dwmapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 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: