From 3bef31e4154e9641f1ce66fd0eef2b52d9d2b2b6 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 13:52:56 -0600 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#35) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate 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/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.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 17 +++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6d02f1..c95e53c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,12 +10,12 @@ 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/astral-sh/ruff-pre-commit - rev: "v0.4.4" + rev: "v0.4.5" hooks: - id: ruff name: Ruff lint diff --git a/pyproject.toml b/pyproject.toml index 0112482..3c348dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,6 +95,15 @@ line-length = 160 lint.select = [ "ALL", ] +lint.ignore = [ + "ANN101", # missing-type-self + "COM812", # missing-trailing-comma + "DJ", # flake8-django + "FIX002", # line-contains-todo + "ISC001", # single-line-implicit-string-concatenation + "PD", # pandas-vet +] + lint.per-file-ignores."tests/*" = [ "ANN201", # missing-return-type-public-function "S101", # assert @@ -111,14 +120,6 @@ lint.isort.required-imports = [ "from __future__ import annotations", ] lint.pydocstyle.convention = "google" -lint.ignore = [ - "ANN101", # missing-type-self - "COM812", # missing-trailing-comma - "DJ", # flake8-django - "FIX002", # line-contains-todo - "ISC001", # single-line-implicit-string-concatenation - "PD", # pandas-vet -] [tool.deptry.package_module_name_map] mypy = "mypy"