From 46c344e92cbf93aaa922610afe5bf7d2bccb3888 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 23 Oct 2020 15:04:00 -0700 Subject: [PATCH] Fix lint by telling pylint it cannot be trusted --- .../certbot_dns_rfc2136/_internal/dns_rfc2136.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/dns_rfc2136.py b/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/dns_rfc2136.py index 57e9506f2..878c808d7 100644 --- a/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/dns_rfc2136.py +++ b/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/dns_rfc2136.py @@ -12,6 +12,14 @@ import dns.tsigkeyring import dns.update import zope.interface +# pylint raises nearly a dozen "no-member" errors about various attributes in +# dnspython. I verified all attributes it is erroring about do exist and that +# the problem still exists in the latest version of pylint which as of writing +# this is 2.6.0. Instead of disabling all of these errors inline now and in the +# future, let's just disable this check in this file while pylint is unable to +# properly parse dnspython. +# pylint: disable=no-member + from certbot import errors from certbot import interfaces from certbot.plugins import dns_common