Meta: Allow partial interface when formatting IDL files

This commit is contained in:
Jelle Raaijmakers 2025-07-22 13:00:14 +02:00 committed by Sam Atkins
commit 529ab9d88a
Notes: github-actions[bot] 2025-07-22 12:08:30 +00:00

View file

@ -11,7 +11,7 @@ script_name = pathlib.Path(__file__).resolve().name
lines_to_skip = re.compile(
r"^($| *//|\};|#import |.+ includes .+|\[[^\]]+\]"
r"|interface |(?:partial )?dictionary |enum |namespace |typedef |callback )"
r"|(?:partial )?interface |(?:partial )?dictionary |enum |namespace |typedef |callback )"
)
parser = argparse.ArgumentParser()