Formatting and License

This commit is contained in:
PinieP 2024-11-02 15:21:11 +01:00 committed by I-Al-Istannen
parent 1f417ec87d
commit 66f196e582
3 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,6 @@
Copyright 2019-2024 Garmelon, I-Al-Istannen, danstooamerican, pavelzw,
TheChristophe, Scriptim, thelukasprobst, Toorero,
Mr-Pine, p-fruck
Mr-Pine, p-fruck, PinieP
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

View file

@ -1,11 +1,7 @@
from typing import Any, Dict, Optional, Union
from typing import Dict, Union
from ...auth import Authenticator, TfaAuthenticator
from ...auth import Authenticator
from ...config import Config
from ...logging import log
from ...utils import soupify
from ..crawler import CrawlError, CrawlWarning
from .async_helper import _iorepeat
from .ilias_web_crawler import IliasWebCrawler, IliasWebCrawlerSection, ShibbolethLoginType
from .shibboleth_login import ShibbolethLogin

View file

@ -16,7 +16,7 @@ class ShibbolethLogin:
"""
def __init__(
self, ilias_url, authenticator: Authenticator, tfa_authenticator: Optional[Authenticator]
self, ilias_url: str, authenticator: Authenticator, tfa_authenticator: Optional[Authenticator]
) -> None:
self._ilias_url = ilias_url
self._auth = authenticator