diff --git a/infra/base-images/base-runner/python_coverage_runner_help.py b/infra/base-images/base-runner/python_coverage_runner_help.py index f0cb6f42c..5d5f62712 100755 --- a/infra/base-images/base-runner/python_coverage_runner_help.py +++ b/infra/base-images/base-runner/python_coverage_runner_help.py @@ -32,7 +32,8 @@ def should_exclude_file(filepath): return True # Filter out all standard python libraries - if '/usr/local/lib/python' in filepath and 'site-packages' not in filepath and 'dist-packages' not in filepath: + if ('/usr/local/lib/python' in filepath and + 'site-packages' not in filepath and 'dist-packages' not in filepath): return True # Avoid all PyInstaller modules.