From 68194170943a21dd27f0b32a3e20d6bf96b8dd0e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 16:49:56 +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/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.28.3) - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.0.3) - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.4) --- .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 d1eae2e..0f97e73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.2 + rev: 0.28.3 hooks: - id: check-github-workflows args: [ "--verbose" ] @@ -20,12 +20,12 @@ repos: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.8.0" + rev: "2.0.3" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.13"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.2" + rev: "v0.4.4" hooks: - id: ruff-format - id: ruff From 5b7153c2ef3288d303b830f026092bcacada6da0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 16:50:10 +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 | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 743f9a7..4baa4fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,8 +17,12 @@ keywords = [ "virtual", ] license = "MIT" -maintainers = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }] -authors = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }] +maintainers = [ + { name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }, +] +authors = [ + { name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }, +] requires-python = ">=3.8" classifiers = [ "Development Status :: 5 - Production/Stable", @@ -44,7 +48,7 @@ dynamic = [ dependencies = [ "devpi-client>=7.0.2", "devpi-server>=6.10", - 'typing-extensions>=4.9; python_version < "3.11"', + "typing-extensions>=4.9; python_version<'3.11'", ] optional-dependencies.test = [ "covdefaults>=2.3", @@ -66,8 +70,14 @@ line-length = 120 [tool.ruff] line-length = 120 target-version = "py38" -lint.isort = { known-first-party = ["devpi_process"], required-imports = ["from __future__ import annotations"] } -lint.select = ["ALL"] +lint.isort = { known-first-party = [ + "devpi_process", +], required-imports = [ + "from __future__ import annotations", +] } +lint.select = [ + "ALL", +] lint.ignore = [ "ANN101", # no type annotation for self "ANN401", # allow Any as type annotation @@ -109,9 +119,12 @@ paths.source = [ "*\\src", ] report.fail_under = 98 -report.omit = [] +report.omit = [ +] run.parallel = true -run.plugins = ["covdefaults"] +run.plugins = [ + "covdefaults", +] [tool.mypy] python_version = "3.11"