Comply to Python formatting

Signed-off-by: coleramos425 <colramos@amd.com>
Bu işleme şunda yer alıyor:
coleramos425
2023-01-23 16:08:42 -06:00
ebeveyn ec0c51802a
işleme f6dad0cd58
2 değiştirilmiş dosya ile 13 ekleme ve 5 silme
+12 -4
Dosyayı Görüntüle
@@ -119,7 +119,9 @@ def parse(my_parser):
help="\t\t\tKernel filtering.",
)
result = subprocess.run(["which", "rocscope"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
result = subprocess.run(
["which", "rocscope"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL
)
if result.returncode == 0:
profile_group.add_argument(
"-l",
@@ -149,9 +151,15 @@ def parse(my_parser):
help="\t\t\tCreate kernel summaries.",
)
else:
profile_group.add_argument("--i-feel-lucky", default=False, dest="lucky", help=argparse.SUPPRESS)
profile_group.add_argument("--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS)
profile_group.add_argument("--kernel-summaries", default=False, dest="summaries", help=argparse.SUPPRESS)
profile_group.add_argument(
"--i-feel-lucky", default=False, dest="lucky", help=argparse.SUPPRESS
)
profile_group.add_argument(
"--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS
)
profile_group.add_argument(
"--kernel-summaries", default=False, dest="summaries", help=argparse.SUPPRESS
)
profile_group.add_argument(
"-b",
+1 -1
Dosyayı Görüntüle
@@ -32,7 +32,7 @@ from dataclasses import dataclass
from pathlib import Path as path
from textwrap import dedent
gpu_list = {"gfx906", "gfx908", "gfx90a","gfx900"}
gpu_list = {"gfx906", "gfx908", "gfx90a", "gfx900"}
@dataclass