Skip to content

Commit 6d7a9d7

Browse files
authored
Merge pull request #270 from maxim-belkin/py3-classes
Use Python3-style class declaration
2 parents 961f24a + 199a809 commit 6d7a9d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/lesson_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def create_checker(args, filename, info):
273273
return cls(args, filename, **info)
274274
return NotImplemented
275275

276-
class CheckBase(object):
276+
class CheckBase:
277277
"""Base class for checking Markdown files."""
278278

279279
def __init__(self, args, filename, metadata, metadata_len, text, lines, doc):

bin/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
REPORTER_NOT_SET = []
3131

3232

33-
class Reporter(object):
33+
class Reporter:
3434
"""Collect and report errors."""
3535

3636
def __init__(self):

0 commit comments

Comments
 (0)