Skip to content

Commit

Permalink
style: remove pylint exclusions only needed for 2/3
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Feb 20, 2022
1 parent cae2884 commit c778139
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ disable=
# Formatting stuff
superfluous-parens,
bad-continuation,
# Disable while we still support Python 2:
useless-object-inheritance,
super-with-arguments,
raise-missing-from,
# Messages that are noisy for now, eventually maybe we'll turn them on:
invalid-name,
protected-access,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ def command_line(self, argv):
try:
raise Exception("oh noes!")
except:
raise _ExceptionDuringRun(*sys.exc_info())
raise _ExceptionDuringRun(*sys.exc_info()) from None
elif argv[0] == 'internalraise':
raise ValueError("coverage is broken")
elif argv[0] == 'exit':
Expand Down

0 comments on commit c778139

Please sign in to comment.