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"