1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-16 14:15:00 +00:00

Fix typos and __all__s

This commit is contained in:
RGBCube 2022-06-25 15:53:55 +03:00
parent 8f11987586
commit 768b81683c
4 changed files with 7 additions and 6 deletions

View file

@ -32,3 +32,4 @@ __copyright__ = "Copyright (c) 2022-present VarMonke, sudosnok & contributors"
from .errors import *
from .internals import *
from .objects import *
from . import utils

View file

@ -49,5 +49,5 @@ class RatelimitReached(GitHubError):
def error_from_request(request: ClientResponse, /) -> BaseHTTPError:
# TODO: Make specific errrors
# TODO: Make specific errors
return HTTPError(request)

View file

@ -1,9 +1,10 @@
from typing import Literal, TypedDict
from typing_extensions import NotRequired
__all__ = ("SecurtiyAndAnalysis",)
from typing import Literal, TypedDict, TYPE_CHECKING
if TYPE_CHECKING:
from typing_extensions import NotRequired
class AdvancedSecurity(TypedDict):
status: Literal["enabled", "disabled"]

View file

@ -5,7 +5,6 @@ __all__ = (
"str_to_datetime",
"repr_dt",
"bytes_to_b64",
"error_from_request",
)
from base64 import b64encode