From 40a89098eadbfa8169293c91af7805733cb71213 Mon Sep 17 00:00:00 2001 From: Peter Cock Date: Sat, 11 Jan 2020 22:12:35 +0000 Subject: [PATCH] Python 3 doesn't need explicit object subclassing This was a quirk of Python 2. --- flake8_black.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake8_black.py b/flake8_black.py index 89dc3e9..010b241 100644 --- a/flake8_black.py +++ b/flake8_black.py @@ -76,7 +76,7 @@ def load_black_mode(toml_filename=None): black_config = {None: load_black_mode()} # None key's value is default config -class BlackStyleChecker(object): +class BlackStyleChecker: """Checker of Python code using black.""" name = "black"