From c36495d205eca8952010a687403519ee072a8814 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 16:50:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes --- pyproject.toml | 39 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5b2cbdb..35fb32d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,44 +57,37 @@ style = "pep440" vcs = "git" [tool.ruff] +target-version = "py38" + line-length = 88 src = [ "tap_dbt", "tests", ] -target-version = "py38" - -[tool.ruff.lint] -ignore = [ - "ANN101", # missing-type-self - "FIX002", # line-contains-todo - "COM812", # missing-trailing-comma - "ISC001", # single-line-implicit-string-concatenation -] -select = [ +lint.select = [ "ALL", ] -unfixable = [ +lint.per-file-ignores."tests/*" = [ + "ANN201", + "S101", +] +lint.unfixable = [ "ERA001", # commented-out-code ] - -[tool.ruff.lint.isort] -known-first-party = [ +lint.isort.known-first-party = [ "tap_dbt", ] -required-imports = [ +lint.isort.required-imports = [ "from __future__ import annotations", ] - -[tool.ruff.lint.per-file-ignores] -"tests/*" = [ - "ANN201", - "S101", +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.ruff.lint.pydocstyle] -convention = "google" - [tool.deptry] known_first_party = [ "tap_dbt",