Skip to content

Commit f8bd693

Browse files
committed
Updated docs to remove another pep8 based reference
1 parent 53da847 commit f8bd693

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)