File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,6 @@ disable=
84
84
# Formatting stuff
85
85
superfluous-parens,
86
86
bad-continuation,
87
- # Disable while we still support Python 2:
88
- useless-object-inheritance,
89
- super-with-arguments,
90
- raise-missing-from,
91
87
# Messages that are noisy for now, eventually maybe we'll turn them on:
92
88
invalid-name,
93
89
protected-access,
Original file line number Diff line number Diff line change @@ -1047,7 +1047,7 @@ def command_line(self, argv):
1047
1047
try :
1048
1048
raise Exception ("oh noes!" )
1049
1049
except :
1050
- raise _ExceptionDuringRun (* sys .exc_info ())
1050
+ raise _ExceptionDuringRun (* sys .exc_info ()) from None
1051
1051
elif argv [0 ] == 'internalraise' :
1052
1052
raise ValueError ("coverage is broken" )
1053
1053
elif argv [0 ] == 'exit' :
You can’t perform that action at this time.
0 commit comments