From f6dad0cd589b192e9a597ee877aadff931d9837b Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Mon, 23 Jan 2023 16:08:42 -0600 Subject: [PATCH] Comply to Python formatting Signed-off-by: coleramos425 --- src/parser.py | 16 ++++++++++++---- src/utils/specs.py | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/parser.py b/src/parser.py index 50878873b2..149c3f8f86 100644 --- a/src/parser.py +++ b/src/parser.py @@ -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", diff --git a/src/utils/specs.py b/src/utils/specs.py index d63b6b4f1f..5e567ad895 100644 --- a/src/utils/specs.py +++ b/src/utils/specs.py @@ -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