diff --git a/pysqa/utils/basic.py b/pysqa/utils/basic.py index ad8696c6..9b702a15 100644 --- a/pysqa/utils/basic.py +++ b/pysqa/utils/basic.py @@ -524,9 +524,11 @@ def _value_in_range(cls, value, value_min=None, value_max=None): if value is not None: value_, value_min_, value_max_ = [ - cls._memory_spec_string_to_value(v) - if v is not None and isinstance(v, str) - else v + ( + cls._memory_spec_string_to_value(v) + if v is not None and isinstance(v, str) + else v + ) for v in (value, value_min, value_max) ] # ATTENTION: '60000' is interpreted as '60000M' since default magnitude is 'M'