Ignore pylint warning (#211)
Caused by helper function given access to class internals
This commit is contained in:
parent
8683537816
commit
893efe426f
@ -13,7 +13,9 @@ def option_wrapper(name, default):
|
||||
|
||||
def set_option(self, value):
|
||||
if getattr(self, name, default) != value:
|
||||
# pylint: disable = W0212
|
||||
self._trigger_options_changed()
|
||||
# pylint: enable = W0212
|
||||
return setattr(self, name, value)
|
||||
|
||||
return property(get_option, set_option)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user