Fix errors reported by pylint. (#23282)

* Fix pylint misplaced-bare-raise errors.
* Fix pylint return-in-init error.
* Fix pylint bad-format-character error.
* Fix pylint too-many-format-args errors.
* Fix pylint too-few-format-args errors.
* Fix pylint truncated-format-string error.
This commit is contained in:
Matt Clay 2017-04-06 16:58:16 -07:00 committed by GitHub
commit 48eeab8a53
15 changed files with 17 additions and 25 deletions

View file

@ -1,13 +1,11 @@
access-member-before-definition
assignment-from-no-return
bad-format-character
C
function-redefined
import-error
locally-disabled
locally-enabled
method-hidden
misplaced-bare-raise
no-member
no-name-in-module
no-value-for-parameter
@ -17,11 +15,7 @@ not-callable
R
raising-bad-type
raising-non-exception
return-in-init
too-few-format-args
too-many-format-args
too-many-function-args
truncated-format-string
undefined-variable
unexpected-keyword-arg
unsubscriptable-object