diff options
| author | Alf Henrik Sauge <alf.henrik.sauge@gmail.com> | 2022-08-11 15:18:27 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-08-26 17:12:40 -0400 |
| commit | 06bf9a5cdae6a185a29e5ea5bcaf18ad3e3e042a (patch) | |
| tree | a909a90a2734935d732dcc087dc173d80da76425 /mesonbuild/scripts | |
| parent | 47a0ed5924ea05ac58a9a36f60670b79e76c6273 (diff) | |
| download | meson-06bf9a5cdae6a185a29e5ea5bcaf18ad3e3e042a.tar.gz | |
Fix purely white space issues reported by flake8
Diffstat (limited to 'mesonbuild/scripts')
| -rw-r--r-- | mesonbuild/scripts/coverage.py | 1 | ||||
| -rw-r--r-- | mesonbuild/scripts/run_tool.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/scripts/coverage.py b/mesonbuild/scripts/coverage.py index fbb196e59..6281486b2 100644 --- a/mesonbuild/scripts/coverage.py +++ b/mesonbuild/scripts/coverage.py @@ -36,7 +36,6 @@ def coverage(outputs: T.List[str], source_root: str, subproject_root: str, build gcovr_config = ['-e', re.escape(subproject_root)] - # gcovr >= 4.2 requires a different syntax for out of source builds if gcovr_exe and mesonlib.version_compare(gcovr_version, '>=4.2'): gcovr_base_cmd = [gcovr_exe, '-r', source_root, build_root] diff --git a/mesonbuild/scripts/run_tool.py b/mesonbuild/scripts/run_tool.py index f120df275..88376dd26 100644 --- a/mesonbuild/scripts/run_tool.py +++ b/mesonbuild/scripts/run_tool.py @@ -60,7 +60,7 @@ def run_tool(name: str, srcdir: Path, builddir: Path, fn: T.Callable[..., subpro for f in itertools.chain(*globs): strf = str(f) if f.is_dir() or f.suffix not in suffixes or \ - any(fnmatch.fnmatch(strf, i) for i in ignore): + any(fnmatch.fnmatch(strf, i) for i in ignore): continue futures.append(e.submit(fn, f, *args)) if futures: |
