Modify hacking flake8 extension
Move hacking files to dir used by the rest of the projects Use the hacking factory option to allow for additional checks Change-Id: If498bb4a2d1ce85c51abd04a559e9106febf4027
This commit is contained in:
parent
80b71b8560
commit
d50c27d5eb
@ -40,3 +40,7 @@ def skip_bugs(physical_line):
|
||||
|
||||
if bug_re.match(physical_line) is None:
|
||||
return (pos, 'T102: Bug number formatted incorrectly')
|
||||
|
||||
|
||||
def factory(register):
|
||||
register(skip_bugs)
|
Loading…
x
Reference in New Issue
Block a user