Skip to content

Commit 596037c

Browse files
committed
refactor: keep lines below 100 chars
1 parent 8a71cd4 commit 596037c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fastapi_csrf_protect/csrf_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ class CsrfConfig(object):
4141
_token_key: ClassVar[str] = "csrf-token"
4242

4343
@classmethod
44-
def load_config(cls, settings: Callable[..., Union[Sequence[Tuple[str, Any]], BaseSettings]]) -> None:
44+
def load_config(
45+
cls, settings: Callable[..., Union[Sequence[Tuple[str, Any]], BaseSettings]]
46+
) -> None:
4547
try:
4648
config = LoadConfig(**{key.lower(): value for key, value in settings()})
4749
cls._cookie_key = config.cookie_key or cls._cookie_key

0 commit comments

Comments
 (0)