Skip to content

Commit c778139

Browse files
committed
style: remove pylint exclusions only needed for 2/3
1 parent cae2884 commit c778139

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pylintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ disable=
8484
# Formatting stuff
8585
superfluous-parens,
8686
bad-continuation,
87-
# Disable while we still support Python 2:
88-
useless-object-inheritance,
89-
super-with-arguments,
90-
raise-missing-from,
9187
# Messages that are noisy for now, eventually maybe we'll turn them on:
9288
invalid-name,
9389
protected-access,

tests/test_cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ def command_line(self, argv):
10471047
try:
10481048
raise Exception("oh noes!")
10491049
except:
1050-
raise _ExceptionDuringRun(*sys.exc_info())
1050+
raise _ExceptionDuringRun(*sys.exc_info()) from None
10511051
elif argv[0] == 'internalraise':
10521052
raise ValueError("coverage is broken")
10531053
elif argv[0] == 'exit':

0 commit comments

Comments
 (0)