Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 5c1a909 commit 968f82e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/how-to/example-oauthenticator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Example OAuthenticator to use with My Service
"""

from jupyterhub.auth import LocalAuthenticator

from oauthenticator.oauth2 import OAuthenticator, OAuthLoginHandler
Expand Down
1 change: 1 addition & 0 deletions examples/auth_state/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
2. pass select auth_state to Spawner via environment variables
3. enable auth_state via `JUPYTERHUB_CRYPT_KEY` and `enable_auth_state = True`
"""

import os
import pprint
import warnings
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/auth0.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with Auth0 as an identity provider.
"""

import os

from jupyterhub.auth import LocalAuthenticator
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/azuread.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with Azure AD as an identity provider.
"""

import os

import jwt
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/bitbucket.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with Bitbucket as an identity provider.
"""

import os

from jupyterhub.auth import LocalAuthenticator
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/cilogon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with CILogon as an identity provider.
"""

import os
from fnmatch import fnmatch
from urllib.parse import urlparse
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/generic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with any OAuth2 based identity provider.
"""

import os
from functools import reduce

Expand Down
1 change: 1 addition & 0 deletions oauthenticator/github.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with GitHub as an identity provider.
"""

import json
import os
import warnings
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/gitlab.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with GitLab as an identity provider.
"""

import os
import warnings
from urllib.parse import quote
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/globus.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with Globus as an identity provider.
"""

import base64
import os
import pickle
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/google.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with Google as an identity provider.
"""

import os

from jupyterhub.auth import LocalAuthenticator
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/mediawiki.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with MediaWiki as an identity provider.
"""

import json
import os
from asyncio import wrap_future
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Founded based on work by Kyle Kelley (@rgbkrk)
"""

import base64
import json
import os
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/openshift.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A JupyterHub authenticator class for use with OpenShift as an identity provider.
"""

import concurrent.futures
import json
import os
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Py.Test fixtures"""

from pytest import fixture
from tornado.httpclient import AsyncHTTPClient

Expand Down
1 change: 1 addition & 0 deletions oauthenticator/tests/mocks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Mocking utilities for testing"""

import json
import os
import re
Expand Down
1 change: 1 addition & 0 deletions oauthenticator/tests/test_azuread.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""test azure ad"""

import json
import os
import re
Expand Down

0 comments on commit 968f82e

Please sign in to comment.