Fix access-member-before-definition pylint errors
This commit is contained in:
parent
b91b64997e
commit
b54aba4d3e
|
@ -1158,7 +1158,7 @@ class GroupchatControl(ChatControlBase):
|
|||
if self.form_widget:
|
||||
self.form_widget.hide()
|
||||
self.form_widget.destroy()
|
||||
self.btn_box.destroy()
|
||||
self.btn_box.destroy() # pylint: disable=access-member-before-definition
|
||||
|
||||
self.form_widget = DataFormWidget(event.form)
|
||||
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
#!/bin/sh
|
||||
PYLINT=${PYLINT:-pylint}
|
||||
|
||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0203,E0401,E0611,E0710,E0712,E1101,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613 "$@"
|
||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0401,E0611,E0710,E0712,E1101,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613 "$@"
|
||||
|
||||
# C0103 invalid-name
|
||||
# C0301 line-too-long
|
||||
# C0302 too-many-lines
|
||||
# C0330 bad-continuation
|
||||
# E0203 access-member-before-definition
|
||||
# E0401 import-error
|
||||
# E0611 no-name-in-module
|
||||
# E0710 raising-non-exception - GLib.GError is not recognized
|
||||
|
|
Loading…
Reference in New Issue