RuleStatus#

class src.ansys.pre_commit_hooks.quality_rules.common.RuleStatus#

Bases: str, enum.Enum

Public status of a quality rule.

Overview#

__str__

Return the string representation of the status.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.common import RuleStatus

Attribute detail#

RuleStatus.PASSED = 'PASSED'#
RuleStatus.WARNING = 'WARNING'#
RuleStatus.ERROR = 'ERROR'#

Method detail#

RuleStatus.__str__() → str#

Return the string representation of the status.