mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Allow tidy to pass without support/crown/target (#34212)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
f83e0a8b67
commit
5423e622ed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue