vhdl-style-guide/vsg/vhdlFile/classify/blank.py

8 lines
98 B
Python

import re
def blank(oLine):
if re.match('^\s*$', oLine.line):
oLine.isBlank = True