From d31857dbe6c69bf3fdf5672d129eea1dfac98664 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:59:25 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.1.3) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7) - [github.com/igorshubovych/markdownlint-cli: v0.40.0 → v0.41.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.40.0...v0.41.0) --- .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 6d7b34c..3fc23b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: pretty-format-yaml args: [--autofix, --indent, '2'] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 1.8.0 + rev: 2.1.3 hooks: - id: pyproject-fmt - repo: https://github.com/psf/black @@ -33,7 +33,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.4.7 hooks: - id: ruff args: [--fix] @@ -47,7 +47,7 @@ repos: - types-requests - types-pillow - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.40.0 + rev: v0.41.0 hooks: - id: markdownlint-fix exclude: ^.github/PULL_REQUEST_TEMPLATE.md From 40ef849fe8d4daa8e55ba9a882b6e2e9b9d7a2ea Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:00:15 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cfdab3e..e52fc2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,10 @@ requires = [ "poetry-core", ] -[tool] [tool.poetry] -authors = ["eggplants "] +authors = [ + "eggplants ", +] classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", @@ -16,9 +17,15 @@ classifiers = [ ] description = "Get and save images from webcomicgamma" documentation = "https://egpl.dev/gettake/" -keywords = ["downloader", "cli", "manga"] +keywords = [ + "downloader", + "cli", + "manga", +] name = "gettake" -packages = [{ include = "gettake" }] +packages = [ + { include = "gettake" }, +] license = "MIT" readme = "README.md" repository = "https://github.com/eggplants/gettake" @@ -46,7 +53,9 @@ portray = "^1.8.0" gettake = "gettake.main:main" [tool.black] -target-version = ["py312"] +target-version = [ + "py312", +] [tool.mypy] pretty = true @@ -58,8 +67,12 @@ strict = true pythonVersion = "3.12" typeCheckingMode = "strict" +[tool] + [tool.lint.ruff] -select = ["ALL"] +select = [ + "ALL", +] # ignore = [] [tool.lint.ruff.per-file-ignores]