Skip to content

Commit

Permalink
feat: run ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrvlh committed Oct 16, 2024
1 parent 94fe4dd commit b9c7dd3
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 25 deletions.
3 changes: 1 addition & 2 deletions examples/fitbit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Fitbit Login Example
"""
"""Fitbit Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/generic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""This is an example usage of litestar-sso.
"""
"""This is an example usage of litestar-sso."""

import uvicorn
from typing import Any, Dict, Union
Expand Down
3 changes: 1 addition & 2 deletions examples/github.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Github Login Example
"""
"""Github Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/gitlab.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Github Login Example
"""
"""Github Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/kakao.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Kakao Login Example
"""
"""Kakao Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/line.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Line Login Example
"""
"""Line Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/linkedin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Github Login Example
"""
"""Github Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/microsoft.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Microsoft Login Example
"""
"""Microsoft Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/naver.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Naver Login Example
"""
"""Naver Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/notion.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Github Login Example
"""
"""Github Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/twitter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Twitter (X) Login Example
"""
"""Twitter (X) Login Example"""

import os
import uvicorn
Expand Down
3 changes: 1 addition & 2 deletions examples/yandex.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Yandex Login Example
"""
"""Yandex Login Example"""

import os
import uvicorn
Expand Down
2 changes: 1 addition & 1 deletion litestar_sso/sso/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def create_provider(
name: str = "generic",
default_scope: Optional[List[str]] = None,
discovery_document: Union[DiscoveryDocument, Callable[[SSOBase], DiscoveryDocument]],
response_convertor: Optional[Callable[[Dict[str, Any], Optional["httpx.AsyncClient"]], OpenID]] = None
response_convertor: Optional[Callable[[Dict[str, Any], Optional["httpx.AsyncClient"]], OpenID]] = None,
) -> Type[SSOBase]:
"""A factory to create a generic OAuth client usable with almost any OAuth provider.
Returns a class.
Expand Down

0 comments on commit b9c7dd3

Please sign in to comment.