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=
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,
Original file line number Diff line number Diff 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' :
You can’t perform that action at this time.
0 commit comments