From c22a5b6db9dfd2b685763caab6ca9af8e90b63df Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 10 Jul 2020 00:18:21 +0300 Subject: [PATCH] utils: ignore subprocess-run-check (#4102) "check" is omitted intentionally there. A follow-up to https://github.com/google/oss-fuzz/pull/4101 --- infra/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/utils.py b/infra/utils.py index 4685c6030..1cde40114 100644 --- a/infra/utils.py +++ b/infra/utils.py @@ -93,8 +93,9 @@ def get_container_name(): Returns: Container name or None if not in a container. """ - result = subprocess.run(['systemd-detect-virt', '-c'], - stdout=subprocess.PIPE).stdout + result = subprocess.run( # pylint: disable=subprocess-run-check + ['systemd-detect-virt', '-c'], + stdout=subprocess.PIPE).stdout if b'docker' not in result: return None with open('/etc/hostname') as file_handle: