use modern set syntax

In one place, we reintroduced old set syntax after having initially
cleaned it up everywhere via commit 4340bf34fa
pull/8968/head
Eli Schwartz 4 years ago committed by Jussi Pakkanen
parent 4f49fa8315
commit 88bd4e6e10
  1. 2
      mesonbuild/scripts/clangformat.py

@ -60,7 +60,7 @@ def clangformat(exelist: T.List[str], srcdir: Path, builddir: Path, check: bool)
ignore.extend([str(srcdir / p) for p in patterns])
suffixes = set(lang_suffixes['c']).union(set(lang_suffixes['cpp']))
suffixes.add('h')
suffixes = set([f'.{s}' for s in suffixes])
suffixes = {f'.{s}' for s in suffixes}
futures = []
returncode = 0
with ThreadPoolExecutor() as e:

Loading…
Cancel
Save