Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
indent_rule.__init__(self, 'case', '013', 'isCaseNull')
from vsg.rules import indent_rule
class rule_008(indent_rule):
'''
Library rule 008 checks indentation of the use keyword.
'''
def __init__(self):
indent_rule.__init__(self, 'library', '008', 'isLibraryUse')
from vsg.rules import indent_rule
class rule_001(indent_rule):
'''
Signal rule 001 checks for the proper indentation at the beginning of the line.
'''
def __init__(self):
indent_rule.__init__(self, 'signal', '001', 'isSignal')
from vsg.rules import indent_rule
class rule_003(indent_rule):
'''
Procedure rule 003 checks the indent of the "end" keyword.
'''
def __init__(self):
indent_rule.__init__(self, 'procedure', '003', 'isProcedureEnd', 'isProcedureParameter')
from vsg.rules import indent_rule
class rule_001(indent_rule):
'''
Constant rule 001 checks for the proper indentation at the beginning of the line.
'''
def __init__(self):
indent_rule.__init__(self, 'constant', '001', 'isConstant')
def __init__(self):
indent_rule.__init__(self, 'generic', '008', 'isEndGenericMap', 'isGenericDeclaration')
from vsg.rules import indent_rule
class rule_005(indent_rule):
'''
Type rule 005 checks for the proper indentation of multiline types.
'''
def __init__(self):
indent_rule.__init__(self, 'type', '005', 'insideTypeEnumerated', 'isTypeEnumeratedKeyword')
self.solution = 'Ensure proper indentation.'
from vsg.rules import indent_rule
class rule_007(indent_rule):
'''
Architecture rule 007 checks for spaces at the beginning of the line for the "begin" keyword.
'''
def __init__(self):
indent_rule.__init__(self, 'architecture', '007', 'isArchitectureBegin')
def __init__(self):
indent_rule.__init__(self, 'architecture', '007', 'isArchitectureBegin')