From 6e10aa85590d46f21fc061d35bf55bd56b399705 Mon Sep 17 00:00:00 2001 From: David Halls Date: Thu, 28 Oct 2021 07:08:35 +0100 Subject: [PATCH] Fix lint on 2.7 --- .github/workflows/ci.yml | 1 - test/jwt_spec.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdebd71..5f77053 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,6 @@ jobs: make node_deps - name: Lint - if: matrix.python-version == '3.10' run: make lint - name: Coverage diff --git a/test/jwt_spec.py b/test/jwt_spec.py index 632b879..b4aa3fb 100644 --- a/test/jwt_spec.py +++ b/test/jwt_spec.py @@ -26,7 +26,7 @@ def _setup(alg, priv_type, pub_type, exp, iat_skew, nbf, jti_size, keyless, expe pubk = None if keyless else pub_keys[alg][pub_type] jtis = {} tick = timedelta(milliseconds=15000 if pub_type == 'jose' and exp < iat_skew else 1500) - @Vows.batch + @Vows.batch #pylint: disable=unused-variable class GenerateJWT(Vows.Context): #pylint: disable=unused-variable """ generate token """ def topic(self):