diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-07 17:52:19 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-07-05 17:55:04 +0300 |
commit | 88bd4e6e10a863b4357827ac9230ffc515b5a2f5 (patch) | |
tree | a8494638e9da8206173d5be9af6a99ce7fbae9ec | |
parent | 4f49fa8315024014727ebe5347f506beb56b668e (diff) | |
download | meson-88bd4e6e10a863b4357827ac9230ffc515b5a2f5.zip meson-88bd4e6e10a863b4357827ac9230ffc515b5a2f5.tar.gz meson-88bd4e6e10a863b4357827ac9230ffc515b5a2f5.tar.bz2 |
use modern set syntax
In one place, we reintroduced old set syntax after having initially
cleaned it up everywhere via commit 4340bf34faca7eed8076ba4c388fbe15355f2183
-rw-r--r-- | mesonbuild/scripts/clangformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/clangformat.py b/mesonbuild/scripts/clangformat.py index 99e1ea5..8e61b55 100644 --- a/mesonbuild/scripts/clangformat.py +++ b/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: |