Skip to content

Commit 8df4260

Browse files
committed
Apply formatting
1 parent e882b9a commit 8df4260

File tree

2 files changed

+11049
-10958
lines changed

2 files changed

+11049
-10958
lines changed

projects/rocprofiler-sdk/source/scripts/format-deps.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,13 @@ def __call__(self, parser, namespace, values, option_string=None):
114114

115115
class InstallDepsUbuntu(argparse.Action):
116116
def __call__(self, parser, namespace, values, option_string=None):
117-
os.system("sudo apt-get update; \
117+
os.system(
118+
"sudo apt-get update; \
118119
sudo apt-get install -y python3-pip software-properties-common wget curl clang-format-11; \
119120
python3 -m pip install -U cmake-format; \
120121
python -m pip install --upgrade pip; \
121-
python -m pip install black")
122+
python -m pip install black"
123+
)
122124
exit(0)
123125

124126

@@ -143,6 +145,10 @@ def __call__(self, parser, namespace, values, option_string=None):
143145
"-cd", "--counter-defs", nargs=0, help="format counter_defs.yaml", action=FormatYAML
144146
)
145147
parser.add_argument(
146-
"-a", "--all", nargs=0, help="format cmake, source, python, and yaml files", action=FormatAll
148+
"-a",
149+
"--all",
150+
nargs=0,
151+
help="format cmake, source, python, and yaml files",
152+
action=FormatAll,
147153
)
148154
parser.parse_args()

0 commit comments

Comments
 (0)