From 199a8093778d96a960242948fdd9970f40e63c68 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Tue, 22 May 2018 08:23:43 -0500 Subject: [PATCH] Use Python3-style class declaration --- bin/lesson_check.py | 2 +- bin/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 5bc7e9ba..79cc0108 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):