diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-02-15 14:49:07 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-02-15 14:49:07 +0300 |
commit | 7d74125936ee8d05c5d4c87ea0fb2cbec375397e (patch) | |
tree | ff3894a3b75b5e86d639ce92b98d1ec54733f3d2 /linter_plugin.py | |
parent | 61e654b85208bfdccd9b7c935ac9c7c0aab1472e (diff) |
Add comment int linter_plugin
Diffstat (limited to 'linter_plugin.py')
-rw-r--r-- | linter_plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linter_plugin.py b/linter_plugin.py index 63f75d69d..d5faf33ac 100644 --- a/linter_plugin.py +++ b/linter_plugin.py @@ -11,6 +11,9 @@ def register(unused_linter): """Register this module as PyLint plugin.""" def _transform(cls): + # fix the "no-member" error on instances of + # letsencrypt.acme.util.ImmutableMap subclasses (instance + # attributes are initialized dynamically based on __slots__) if (('Message' in cls.basenames or 'ImmutableMap' in cls.basenames or 'util.ImmutableMap' in cls.basenames) and (cls.slots() is not None)): for slot in cls.slots(): |