Skip to content

Commit

Permalink
Python 3 doesn't need explicit object subclassing
Browse files Browse the repository at this point in the history
This was a quirk of Python 2.
  • Loading branch information
peterjc authored Jan 11, 2020
1 parent eeb7027 commit 40a8909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake8_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 40a8909

Please sign in to comment.