Skip to content

Commit

Permalink
Merge pull request #726 from jupyterhub/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
consideRatio committed Feb 6, 2024
2 parents 9cc806e + 968f82e commit fc20682
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -34,7 +34,7 @@ repos:

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down Expand Up @@ -64,7 +64,7 @@ repos:

# Lint: Python code
- repo: https://github.com/pycqa/flake8
rev: "6.1.0"
rev: "7.0.0"
hooks:
- id: flake8

Expand Down
1 change: 1 addition & 0 deletions docs/source/how-to/example-oauthenticator.py
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -1,4 +1,5 @@
"""test azure ad"""

import json
import os
import re
Expand Down

0 comments on commit fc20682

Please sign in to comment.