From 3daeff390cf214281ec845850e8224cf47b82a77 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:55:40 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.8.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...24.8.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.11.1) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.1) - [github.com/asottile/blacken-docs: 1.16.0 → 1.18.0](https://github.com/asottile/blacken-docs/compare/1.16.0...1.18.0) - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.2.1](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.2.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14d4e6a4..5f0d2b71 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: "24.4.2" + rev: "24.8.0" hooks: - id: black language_version: python3.8 @@ -12,7 +12,7 @@ repos: files: \.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.0" + rev: "v1.11.1" hooks: - id: mypy additional_dependencies: @@ -39,7 +39,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: "7.0.0" + rev: "7.1.1" hooks: - id: flake8 @@ -50,12 +50,12 @@ repos: files: src/.*\.py$ - repo: https://github.com/asottile/blacken-docs - rev: "1.16.0" + rev: "1.18.0" hooks: - id: blacken-docs - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.8.0" + rev: "2.2.1" hooks: - id: pyproject-fmt args: [--indent, "4"] From 1954fc6ca1e986a624b4d7c132f5e965539563d4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:55:55 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 04378c8c..7876b9aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] build-backend = "flit_core.buildapi" requires = [ - "flit_core<4,>=3.2", + "flit-core<4,>=3.2", ] [project] @@ -24,8 +24,7 @@ dynamic = [ "description", "version", ] -[project.urls] -"GitHub" = "https://github.com/pypa/installer" +urls."GitHub" = "https://github.com/pypa/installer" [tool.mypy] files = "src,tools" From 687be13d540764294cb8da36839038ae8346f24c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 16:06:32 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index afbecb1a..80fad776 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,31 +27,29 @@ dynamic = [ urls."GitHub" = "https://github.com/pypa/installer" [tool.ruff] -fix = true -src = ["src"] +src = [ "src" ] extend-exclude = [ + "docs/*", "noxfile.py", - "docs/*" ] -[tool.ruff.lint] -select = [ +fix = true +lint.select = [ + "D", "E", "F", - "W", "I", - "D", + "W", ] -ignore = [ - "D105", "D203", "D213", "E501" +lint.ignore = [ + "D105", + "D203", + "D213", + "E501", ] - -[tool.ruff.lint.per-file-ignores] -"tests/*" = ["D"] -"tools/*" = ["D"] - -[tool.ruff.lint.isort] -known-first-party = ["src"] +lint.per-file-ignores."tests/*" = [ "D" ] +lint.per-file-ignores."tools/*" = [ "D" ] +lint.isort.known-first-party = [ "src" ] [tool.coverage.report] exclude_lines = [