about summary refs log tree commit diff
path: root/gn_auth/auth/authentication/oauth2/grants
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-05-13 06:33:51 +0300
committerFrederick Muriuki Muriithi2024-05-13 06:33:51 +0300
commit2a25cce03405d23a19f984586aab3dd341912fd5 (patch)
tree7efc066acaa8ca61bf6379a2a3c4b2afec24bd3c /gn_auth/auth/authentication/oauth2/grants
parenta22dbcba7b28b75c13aa25bdd36583ade5fe3747 (diff)
downloadgn-auth-2a25cce03405d23a19f984586aab3dd341912fd5.tar.gz
Fix myriad of linting error
These linting errors can't be rebased into the newer commits.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2/grants')
-rw-r--r--gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py b/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
index d663aaf..b0f2cc7 100644
--- a/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
+++ b/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
@@ -35,8 +35,10 @@ class JWTBearerTokenGenerator(_JWTBearerTokenGenerator):
         }
 
 
-    def __call__(self, grant_type, client, user=None, scope=None,
-                 expires_in=None, include_refresh_token=True):
+    def __call__(# pylint: disable=[too-many-arguments]
+            self, grant_type, client, user=None, scope=None, expires_in=None,
+            include_refresh_token=True
+    ):
         # there is absolutely no refresh token in JWT format
         """
         The default generator does not provide refresh tokens with JWT. It goes