Fix no-callable pylint errors

This commit is contained in:
Philipp Hörist 2019-04-07 21:47:00 +02:00
parent 33f62cecf9
commit b91b64997e
2 changed files with 2 additions and 3 deletions

View File

@ -85,4 +85,4 @@ class BaseModule:
if self._stored_publish is None:
return
self._log.info('Send stored publish')
self._stored_publish()
self._stored_publish() # pylint: disable=not-callable

View File

@ -1,7 +1,7 @@
#!/bin/sh
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
# C0301 line-too-long
@ -13,7 +13,6 @@ PYLINT=${PYLINT:-pylint}
# E0710 raising-non-exception - GLib.GError is not recognized
# E0712 catching-non-exception - GLib.GError is not recognized
# E1101 no-member
# E1102 not-callable
# E1133 not-an-iterable
# E1136 unsubscriptable-object
# R0201 no-self-use