How to use the vsg.rules.indent_rule.__init__ function in vsg

To help you get started, we’ve selected a few vsg examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jeremiah-c-leary / vhdl-style-guide / vsg / rules / if_statement / rule_001.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'if', '001', 'isIfKeyword')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / library / rule_008.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'library', '008', 'isLibraryUse')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / type_definition / rule_001.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'type', '001', 'isTypeKeyword')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / type_definition / rule_012.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'type', '012', 'insideTypeRecord')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / variable_assignment / rule_001.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'variable_assignment', '001', 'isVariableAssignment')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / concurrent / rule_001.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'concurrent', '001', 'isConcurrentBegin')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / for_loop / rule_001.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'for_loop', '001', 'isForLoopKeyword')
        self.solution = 'Ensure proper indentation.'
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / constant / rule_012.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'constant', '012', 'isConstantArray', 'isConstant')
github jeremiah-c-leary / vhdl-style-guide / vsg / rules / port / rule_004.py View on Github external
def __init__(self):
        indent_rule.__init__(self, 'port', '004', 'isPortDeclaration', 'isEndPortMap')
        self.solution = 'Ensure proper indentation.'