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):
rule.rule.__init__(self, 'semicolon', '001')
self.phase = 1
self.solution = 'Remove consecutive semicolons.'
def __init__(self):
rule.rule.__init__(self, 'length', '001')
self.phase = 7
self.solution = None
self.fixable = False # The user will have to fix line length violations
self.disable = False
self.length = 120
self.configuration.append('length')
def __init__(self, name=None, identifier=None, sTrigger=None, sUnless=None):
rule.rule.__init__(self, name, identifier)
self.solution = 'Insert blank line above.'
self.phase = 3
# The user updates the attributes below
self.condition = sTrigger
self.sUnless = sUnless
def __init__(self):
rule.rule.__init__(self, 'process', '028')
self.solution = 'Align closing parenthesis with opening parenthesis.'
self.phase = 5
def __init__(self):
rule.rule.__init__(self, 'with', '001')
self.fixable = False
self.phase = 1
def __init__(self):
rule.rule.__init__(self, 'sequential', '004')
self.solution = 'Align with space after the "<=" keyword.'
self.phase = 5
def __init__(self):
rule.rule.__init__(self, 'architecture', '025')
self.names = []
self.solution = ''
self.phase = 7
self.fixable = False
self.disable = True
self.configuration.append('names')
def __init__(self, name, identifier, trigger):
rule.rule.__init__(self, name=name, identifier=identifier)
self.solution = 'Remove all but one blank line above this line.'
self.phase = 3
self.trigger = trigger
def __init__(self):
rule.rule.__init__(self, 'whitespace', '008')
self.phase = 2
self.solution = 'Remove spaces after "std_logic_vector".'
def __init__(self):
rule.rule.__init__(self)
self.name = 'package'
self.identifier = '007'
self.solution = 'End of package follows this format: end package .'
self.phase = 1