Skip to content

Commit

Permalink
chore(deps): pre-commit autoupdate (#328)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/tox-dev/pyproject-fmt: 2.0.4 →
2.1.1](tox-dev/pyproject-fmt@2.0.4...2.1.1)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed May 20, 2024
1 parent fcefa5e commit 13ef2cf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.0.4"
rev: "2.1.1"
hooks:
- id: pyproject-fmt

Expand Down
39 changes: 16 additions & 23 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 13ef2cf

Please sign in to comment.