diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/tidy.py | 2 |
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: |