diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2024-11-11 17:07:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 16:07:05 +0000 |
commit | 5423e622ed283dfdde832c18479a3d6b95c8cf69 (patch) | |
tree | 2a1a8e6998d63a4c4e3a69b3890525e0e4ec097f /python/tidy | |
parent | f83e0a8b678075fd6063e2f93b4ed727dc3f66fc (diff) | |
download | servo-5423e622ed283dfdde832c18479a3d6b95c8cf69.tar.gz servo-5423e622ed283dfdde832c18479a3d6b95c8cf69.zip |
Allow tidy to pass without support/crown/target (#34212)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'python/tidy')
-rw-r--r-- | python/tidy/tidy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/tidy.py b/python/tidy/tidy.py index 247e74a8713..55bbba0513e 100644 --- a/python/tidy/tidy.py +++ b/python/tidy/tidy.py @@ -949,7 +949,7 @@ def check_config_file(config_file, print_text=True): # Check for invalid listed ignored directories exclude_dirs = [d for p in exclude.get("directories", []) for d in (glob.glob(p) or [p])] - skip_dirs = ["./target", "./tests"] + skip_dirs = ["./target", "./tests", "./support/crown/target"] invalid_dirs = [d for d in exclude_dirs if not os.path.isdir(d) and not any(s in d for s in skip_dirs)] # Check for invalid listed ignored files |