merge with stable

This commit is contained in:
shimizukawa
2016-01-13 00:13:35 +09:00
14 changed files with 47 additions and 27 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ def check_syntax(fn, lines):
@checker('.py')
def check_style(fn, lines):
for lno, line in enumerate(lines):
if len(line) > 95:
if len(line.rstrip('\n')) > 95:
yield lno+1, "line too long"
if line.strip().startswith('#'):
continue