Skip to content

Commit

Permalink
Merge pull request datacarpentry#270 from maxim-belkin/py3-classes
Browse files Browse the repository at this point in the history
Use Python3-style class declaration
  • Loading branch information
rgaiacs authored May 23, 2018
2 parents 961f24a + 199a809 commit 6d7a9d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion bin/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
REPORTER_NOT_SET = []


class Reporter(object):
class Reporter:
"""Collect and report errors."""

def __init__(self):
Expand Down

0 comments on commit 6d7a9d7

Please sign in to comment.