]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Some PyLint disables
authorSergey Matveev <stargrave@stargrave.org>
Mon, 17 Feb 2020 13:43:58 +0000 (16:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 17 Feb 2020 13:59:43 +0000 (16:59 +0300)
pyderasn.py

index 120fb8c53198f18baa52b8c8d3cd874877457d37..84f1bc749df01626694682b635281f53e8483b90 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
 # coding: utf-8
 # cython: language_level=3
+# pylint: disable=line-too-long,superfluous-parens,protected-access,too-many-lines
+# pylint: disable=too-many-return-statements,too-many-branches,too-many-statements
 # PyDERASN -- Python ASN.1 DER/CER/BER codec with abstract structures
 # Copyright (C) 2017-2020 Sergey Matveev <stargrave@stargrave.org>
 #
@@ -4970,6 +4972,7 @@ class UTCTime(VisibleString):
             if self.ber_encoded:
                 value += " (%s)" % self.ber_raw
             return value
+        return None
 
     def __unicode__(self):
         if self.ready: