Fix no-callable pylint errors
This commit is contained in:
parent
33f62cecf9
commit
b91b64997e
|
@ -85,4 +85,4 @@ class BaseModule:
|
||||||
if self._stored_publish is None:
|
if self._stored_publish is None:
|
||||||
return
|
return
|
||||||
self._log.info('Send stored publish')
|
self._log.info('Send stored publish')
|
||||||
self._stored_publish()
|
self._stored_publish() # pylint: disable=not-callable
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PYLINT=${PYLINT:-pylint}
|
PYLINT=${PYLINT:-pylint}
|
||||||
|
|
||||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0203,E0401,E0611,E0710,E0712,E1101,E1102,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,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 "$@"
|
||||||
|
|
||||||
# C0103 invalid-name
|
# C0103 invalid-name
|
||||||
# C0301 line-too-long
|
# C0301 line-too-long
|
||||||
|
@ -13,7 +13,6 @@ PYLINT=${PYLINT:-pylint}
|
||||||
# E0710 raising-non-exception - GLib.GError is not recognized
|
# E0710 raising-non-exception - GLib.GError is not recognized
|
||||||
# E0712 catching-non-exception - GLib.GError is not recognized
|
# E0712 catching-non-exception - GLib.GError is not recognized
|
||||||
# E1101 no-member
|
# E1101 no-member
|
||||||
# E1102 not-callable
|
|
||||||
# E1133 not-an-iterable
|
# E1133 not-an-iterable
|
||||||
# E1136 unsubscriptable-object
|
# E1136 unsubscriptable-object
|
||||||
# R0201 no-self-use
|
# R0201 no-self-use
|
||||||
|
|
Loading…
Reference in New Issue