Skip to content

Commit

Permalink
chore(deps): pre-commit autoupdate (#174)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit: v3.3.2 →
v3.3.3](pre-commit/pre-commit@v3.3.2...v3.3.3)
- [github.com/tox-dev/pyproject-fmt: 0.11.2 →
0.12.0](tox-dev/pyproject-fmt@0.11.2...0.12.0)
- [github.com/python-jsonschema/check-jsonschema: 0.23.1 →
0.23.2](python-jsonschema/check-jsonschema@0.23.1...0.23.2)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.270 →
v0.0.272](astral-sh/ruff-pre-commit@v0.0.270...v0.0.272)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Edgar R. M <edgar@meltano.com>
Co-authored-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
  • Loading branch information
3 people committed Jun 19, 2023
1 parent bdfdd88 commit 5a42501
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ci:
autofix_prs: false
autofix_prs: true
autofix_commit_msg: '[pre-commit.ci] auto fixes'
autoupdate_schedule: weekly
autoupdate_commit_msg: 'chore(deps): pre-commit autoupdate'

repos:
- repo: https://github.com/pre-commit/pre-commit
rev: v3.3.2
rev: v3.3.3
hooks:
- id: validate_manifest

Expand All @@ -21,18 +21,18 @@ repos:
- id: trailing-whitespace

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

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.1
rev: 0.23.2
hooks:
- id: check-dependabot
- id: check-github-workflows

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.270
rev: v0.0.272
hooks:
- id: ruff

Expand Down
38 changes: 22 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ tap-dbt = 'tap_dbt.tap:cli'
[tool.black]
line-length = 88

[tool.ruff]
ignore = [
"ANN101", # missing-type-self
"FIX002", # line-contains-todo
]
line-length = 88
select = ["ALL"]
src = ["tap_dbt", "tests"]
target-version = "py37"
unfixable = [
"ERA001", # commented-out-code
]

[tool.ruff.isort]
known-first-party = ["tap_dbt"]

[tool.ruff.per-file-ignores]
"tests/*" = ["ANN201", "S101"]

[tool.ruff.pydocstyle]
convention = "google"

[tool.isort]
profile = "black"
multi_line_output = 3 # Vertical Hanging Indent
Expand All @@ -51,19 +73,3 @@ format-jinja = """
metadata = true
style = "pep440"
vcs = "git"

[tool.ruff]
ignore = ["ANN101"]
line-length = 88
select = ["ALL"]
src = ["tap_dbt", "tests"]
target-version = "py37"

[tool.ruff.isort]
known-first-party = ["tap_dbt"]

[tool.ruff.per-file-ignores]
"tests/*" = ["ANN201", "S101"]

[tool.ruff.pydocstyle]
convention = "google"

0 comments on commit 5a42501

Please sign in to comment.