From 1fb1df8221cc006906533af023311e3de59a1e8e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 16:52:13 +0000 Subject: [PATCH 1/2] chore(deps): 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: 2.1.1 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/2.1.1...2.1.3) - [github.com/python-jsonschema/check-jsonschema: 0.28.3 → 0.28.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.3...0.28.4) - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5) --- .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 50e943f..c512d21 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,18 +23,18 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.1.1" + rev: "2.1.3" hooks: - id: pyproject-fmt - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.3 + rev: 0.28.4 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.4.5 hooks: - id: ruff - id: ruff-format From 66088b437417f4084a6322981637699978bead9b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 16:52:26 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes --- pyproject.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 998c70a..44e2262 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,6 +67,13 @@ src = [ lint.select = [ "ALL", ] +lint.ignore = [ + "ANN101", # missing-type-self + "COM812", # missing-trailing-comma + "FIX002", # line-contains-todo + "ISC001", # single-line-implicit-string-concatenation +] + lint.per-file-ignores."tests/*" = [ "ANN201", "S101", @@ -81,12 +88,6 @@ lint.isort.required-imports = [ "from __future__ import annotations", ] lint.pydocstyle.convention = "google" -lint.ignore = [ - "ANN101", # missing-type-self - "COM812", # missing-trailing-comma - "FIX002", # line-contains-todo - "ISC001", # single-line-implicit-string-concatenation -] [tool.deptry] known_first_party = [