8000 Try both pylint approaches for Python 3.8 and < 3.8 · davedoesdev/python-jwt@1b4bafa · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Commit 1b4bafa

Browse files
committed
Try both pylint approaches for Python 3.8 and < 3.8

Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def _setup(alg, priv_type, pub_type, exp, iat_skew, nbf, jti_size, keyless, expe
2626
pubk = None if keyless else pub_keys[alg][pub_type]
2727
jtis = {}
2828
@Vows.batch
29+
#pylint: disable=unused-variable
2930
class GenerateJWT(Vows.Context): #pylint: disable=unused-variable
31+
#pylint: enable=unused-variable
3032
""" generate token """
3133
def topic(self):
3234
""" generate tokens, one with lifetime, one with expires """