diff --git a/bin/lesson_check.py b/bin/lesson_check.py index d179db51..5d8b9ddc 100755 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -273,7 +273,7 @@ def create_checker(args, filename, info): return cls(args, filename, **info) return NotImplemented -class CheckBase(object): +class CheckBase: """Base class for checking Markdown files.""" def __init__(self, args, filename, metadata, metadata_len, text, lines, doc): diff --git a/bin/util.py b/bin/util.py index 8d958150..0fe55b63 100644 --- a/bin/util.py +++ b/bin/util.py @@ -30,7 +30,7 @@ REPORTER_NOT_SET = [] -class Reporter(object): +class Reporter: """Collect and report errors.""" def __init__(self):