File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ through a custom wrapper for the PEP 8 library::
6868
6969 LINES_SLICE = slice(14, -20)
7070
71- class PEP8 (pycodestyle.StyleGuide):
71+ class StyleGuide (pycodestyle.StyleGuide):
7272 """This subclass of pycodestyle.StyleGuide will skip the first and last lines
7373 of each file."""
7474
@@ -77,11 +77,11 @@ through a custom wrapper for the PEP 8 library::
7777 assert line_offset == 0
7878 line_offset = LINES_SLICE.start or 0
7979 lines = pycodestyle.readlines(filename)[LINES_SLICE]
80- return super(PEP8 , self).input_file(
80+ return super(StyleGuide , self).input_file(
8181 filename, lines=lines, expected=expected, line_offset=line_offset)
8282
8383 if __name__ == '__main__':
84- style = PEP8 (parse_argv=True, config_file=True)
84+ style = StyleGuide (parse_argv=True, config_file=True)
8585 report = style.check_files()
8686 if report.total_errors:
8787 raise SystemExit(1)
You can’t perform that action at this time.
0 commit comments