From 9f6d6462a9cef37735a9d4c61921d04934fd9864 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 11 Nov 2015 03:22:38 +0000 Subject: 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 --- rpki/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpki/fields.py') diff --git a/rpki/fields.py b/rpki/fields.py index f8ee8789..06f71259 100644 --- a/rpki/fields.py +++ b/rpki/fields.py @@ -143,7 +143,7 @@ class DERField(models.BinaryField): del kwargs["default"] return name, path, args, kwargs - def from_db_value(self, value, expression, connection, context): # pylint: disable=W0613 + def from_db_value(self, value, expression, connection, context): if value is not None: value = self.rpki_type(DER = str(value)) return value -- cgit v1.2.3