Skip to content

Commit

Permalink
chore(deps): pre-commit autoupdate (#325)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit: v3.7.0 →
v3.7.1](pre-commit/pre-commit@v3.7.0...v3.7.1)
- [github.com/tox-dev/pyproject-fmt: 1.8.0 →
2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4)
- [github.com/python-jsonschema/check-jsonschema: 0.28.2 →
0.28.3](python-jsonschema/check-jsonschema@0.28.2...0.28.3)
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 →
v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and edgarrmondragon authored May 13, 2024
1 parent f8d48b0 commit ea72540
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

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

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

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

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.4.4
hooks:
- id: ruff
- id: ruff-format
Expand Down
51 changes: 37 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ name = "tap-dbt"
version = "0.0.0"
description = "Singer tap for dbt, built with the Singer SDK."
license = "Apache-2.0"
authors = ["Edgar Ramírez Mondragón <[email protected]>"]
maintainers = ["Edgar Ramírez Mondragón <[email protected]>"]
authors = [
"Edgar Ramírez Mondragón <[email protected]>",
]
maintainers = [
"Edgar Ramírez Mondragón <[email protected]>",
]
readme = "README.md"
repository = "https://github.com/edgarrmondragon/tap-dbt"
keywords = ["singer.io", "elt", "dbt", "singer-sdk"]
keywords = [
"singer.io",
"elt",
"dbt",
"singer-sdk",
]

[tool.poetry.dependencies]
python = ">=3.8"
Expand Down Expand Up @@ -49,33 +58,47 @@ vcs = "git"

[tool.ruff]
line-length = 88
src = ["tap_dbt", "tests"]
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
"ANN101", # missing-type-self
"FIX002", # line-contains-todo
"COM812", # missing-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
]
select = [
"ALL",
]
select = ["ALL"]
unfixable = [
"ERA001", # commented-out-code
"ERA001", # commented-out-code
]

[tool.ruff.lint.isort]
known-first-party = ["tap_dbt"]
required-imports = ["from __future__ import annotations"]
known-first-party = [
"tap_dbt",
]
required-imports = [
"from __future__ import annotations",
]

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

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

[tool.deptry]
known_first_party = ["tap_dbt"]
known_first_party = [
"tap_dbt",
]

[tool.deptry.package_module_name_map]
faker = "faker"
Expand Down

0 comments on commit ea72540

Please sign in to comment.