Skip to content

Commit

Permalink
style: pre-commit.ci auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent ecf26e0 commit 7325ab4
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions src/simple_github/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,36 +46,28 @@ def __init__(self, auth: "Auth"):
] = None

@abstractmethod
def close(self) -> BaseNone:
...
def close(self) -> BaseNone: ...

@abstractmethod
def request(self, method: str, query: str, **kwargs: Any) -> BaseResponse:
...
def request(self, method: str, query: str, **kwargs: Any) -> BaseResponse: ...

@abstractmethod
def get(self, query: str) -> BaseResponse:
...
def get(self, query: str) -> BaseResponse: ...

@abstractmethod
def post(self, query: str, data: RequestData = None) -> BaseResponse:
...
def post(self, query: str, data: RequestData = None) -> BaseResponse: ...

@abstractmethod
def put(self, query: str, data: RequestData = None) -> BaseResponse:
...
def put(self, query: str, data: RequestData = None) -> BaseResponse: ...

@abstractmethod
def patch(self, query: str, data: RequestData = None) -> BaseResponse:
...
def patch(self, query: str, data: RequestData = None) -> BaseResponse: ...

@abstractmethod
def delete(self, query: str, data: RequestData = None) -> BaseNone:
...
def delete(self, query: str, data: RequestData = None) -> BaseNone: ...

@abstractmethod
def execute(self, query: str, variables: RequestData = None) -> BaseDict:
...
def execute(self, query: str, variables: RequestData = None) -> BaseDict: ...


class SyncClient(Client):
Expand Down

0 comments on commit 7325ab4

Please sign in to comment.