servo/python/tidy
Mukilan Thiyagarajan 42b09d483f
mach: fix test-tidy to not skip Cargo.lock (#32540)
PR #32465 broke the lint because it initializes FileList with a
file name (./Cargo.lock). This causes it to always return an empty
list when the `only_changed_files` parameter is `False` since `os.walk`
requires a directory and not a file.

Fixes #32530.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-18 07:39:38 +00:00
..
tests Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
__init__.py Add cargo-deny to mach-tidy to check license compliance. (#32465) 2024-06-12 09:54:45 +00:00
licenseck.py Convert tidy to a non-egg Python package 2023-06-15 13:10:06 +02:00
test.py Add cargo-deny to mach-tidy to check license compliance. (#32465) 2024-06-12 09:54:45 +00:00
tidy.py mach: fix test-tidy to not skip Cargo.lock (#32540) 2024-06-18 07:39:38 +00:00