rocprofiler-sdk: fix python linting (#2147)

- flake8 rules are not currently included in make format
Этот коммит содержится в:
Mark Meserve
2025-12-02 19:31:49 -06:00
коммит произвёл GitHub
родитель 2700ca0287
Коммит a3a177b14f
+2 -2
Просмотреть файл
@@ -984,8 +984,8 @@ def get_args(
import re
filter_regex = re.compile(filter) if filter != None else None
ignored_regex = re.compile(ignore_prev_inp) if ignore_prev_inp != None else None
filter_regex = re.compile(filter) if filter is not None else None
ignored_regex = re.compile(ignore_prev_inp) if ignore_prev_inp is not None else None
def ensure_type(name, var, type_id):
if not isinstance(var, type_id):