aboutsummaryrefslogtreecommitdiff
path: root/ca/irbe_cli
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-11-11 03:22:38 +0000
committerRob Austein <sra@hactrn.net>2015-11-11 03:22:38 +0000
commit9f6d6462a9cef37735a9d4c61921d04934fd9864 (patch)
treee5d1b046f6f6bd44faf1b5028f6f1df9698e2a88 /ca/irbe_cli
parentac415cdd0f88f8479975627772dd0a84797b261a (diff)
Configure pylint to use the pylint-django plugin, which (mostly)
understands Django's exotic metaclasses, which in turn allows us to re-enable a number of pylint checks we had disabled. While we were at this, stripped out a bunch of old pylint pragmas, then added back the subset that were really needed. As usual with pylint, this turned up a few real bugs along with an awful lot of noise. svn path=/branches/tk705/; revision=6162
Diffstat (limited to 'ca/irbe_cli')
-rwxr-xr-xca/irbe_cli7
1 files changed, 5 insertions, 2 deletions
diff --git a/ca/irbe_cli b/ca/irbe_cli
index 59039bf9..15a7a30d 100755
--- a/ca/irbe_cli
+++ b/ca/irbe_cli
@@ -50,6 +50,9 @@ import rpki.publication
pem_out = None
+# This program needs a complete rewrite. In the meantime, shut up about lint.
+# pylint: skip-file
+
class UsageWrapper(textwrap.TextWrapper):
"""
Call interface around Python textwrap.Textwrapper class.
@@ -207,7 +210,7 @@ class left_right_msg(cmd_msg_mixin, rpki.left_right.msg):
for x in (self_elt, bsc_elt, parent_elt, child_elt, repository_elt,
list_published_objects_elt, list_received_resources_elt, report_error_elt))
-class left_right_sax_handler(rpki.left_right.sax_handler): # pylint: disable=W0232
+class left_right_sax_handler(rpki.left_right.sax_handler):
pdu = left_right_msg
class left_right_cms_msg(rpki.left_right.cms_msg):
@@ -251,7 +254,7 @@ class publication_msg(cmd_msg_mixin, rpki.publication.msg):
manifest_elt, roa_elt, report_error_elt,
ghostbuster_elt))
-class publication_sax_handler(rpki.publication.sax_handler): # pylint: disable=W0232
+class publication_sax_handler(rpki.publication.sax_handler):
pdu = publication_msg
class publication_cms_msg(rpki.publication.cms_msg):