Add check for correct indenting of copyright header

This commit is contained in:
Alexander Bock
2017-03-01 21:19:27 -05:00
parent 3274882ec2
commit 2b07cf8c05
+5 -2
View File
@@ -166,8 +166,11 @@ def check_copyright(lines):
if year != current_year:
return 'Out of date copyright notice ' + year + ' || ' + current_year
else:
return ''
if lines[index[0] + 1][0] != ' ':
return 'Copyright header is not correctly indented'
return ''