From 77f14364826e296f5b5414d7cdb8606585142d30 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:40:06 +0000 Subject: [PATCH 1/2] chore: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/adrienverge/yamllint.git: v1.33.0 → v1.35.1](https://github.com/adrienverge/yamllint.git/compare/v1.33.0...v1.35.1) - [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.2.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.2.2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a964c0..63c8ef7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: codespell entry: codespell -I .codespell-ignore-words.txt - repo: https://github.com/adrienverge/yamllint.git - rev: v1.33.0 + rev: v1.35.1 hooks: - id: yamllint - repo: https://github.com/rstcheck/rstcheck @@ -34,11 +34,11 @@ repos: additional_dependencies: - tomli - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.2.0 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.2.2 hooks: - id: ruff args: From 0dc7c7ccc9ed4887915c0e1f7472e27b5cc7a0a8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:40:17 +0000 Subject: [PATCH 2/2] style: pre-commit.ci auto fixes [...] --- src/simple_github/client.py | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/simple_github/client.py b/src/simple_github/client.py index 18be40a..b5dff3a 100644 --- a/src/simple_github/client.py +++ b/src/simple_github/client.py @@ -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):