mirror of
https://github.com/certbot/certbot.git
synced 2025-08-09 15:02:48 +03:00
Fix "lint" and "providedBy" build errors
This commit is contained in:
@@ -19,7 +19,7 @@ persistent=yes
|
|||||||
|
|
||||||
# List of plugins (as comma separated values of python modules names) to load,
|
# List of plugins (as comma separated values of python modules names) to load,
|
||||||
# usually to register additional checkers.
|
# usually to register additional checkers.
|
||||||
load-plugins=letsencrypt.acme.lint
|
load-plugins=linter_plugin
|
||||||
|
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
|
@@ -89,6 +89,7 @@ def dump_ijsonserializable(python_object):
|
|||||||
argument.
|
argument.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
# providedBy | pylint: disable=no-member
|
||||||
if interfaces.IJSONSerializable.providedBy(python_object):
|
if interfaces.IJSONSerializable.providedBy(python_object):
|
||||||
return python_object.to_json()
|
return python_object.to_json()
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user