From d9f8df616ef54b36027879377261944a87d50d6e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 16:52:38 +0000 Subject: [PATCH 1/5] chore(deps): pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit: v3.7.0 → v3.7.1](https://github.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1) - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.0.3) - [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.28.3) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e20278b..52c497a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -23,18 +23,18 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.8.0" + rev: "2.0.3" 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 From ce3f8af6997c1949871ef63ec3883001785ef32c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 16:53:10 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes --- pyproject.toml | 61 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 236dba0..fdccf44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] -maintainers = ["Edgar Ramírez Mondragón "] +authors = [ + "Edgar Ramírez Mondragón ", +] +maintainers = [ + "Edgar Ramírez Mondragón ", +] 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" @@ -23,15 +32,15 @@ pyyaml = "~=6.0" requests = "~=2.31.0" singer-sdk = "~=0.37.0" +[tool.poetry.scripts] +tap-dbt = 'tap_dbt.tap:cli' + [tool.poetry.group.dev.dependencies] deptry = ">=0.14.2" faker = ">=17.6" pytest = "~=8.0" responses = "~=0.25.0" -[tool.poetry.scripts] -tap-dbt = 'tap_dbt.tap:cli' - [tool.poetry-dynamic-versioning] enable = true format-jinja = """ @@ -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.isort] +known-first-party = [ + "tap_dbt", +] +required-imports = [ + "from __future__ import annotations", +] + [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"] - [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" From a84023dca83086779e9042e89213c58268464a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 13 May 2024 11:27:49 -0600 Subject: [PATCH 3/5] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52c497a..3d83612 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.0.3" + rev: "2.0.4" hooks: - id: pyproject-fmt From c8becf9aa72e7bfc9235de8a984fbc87b46740de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 13 May 2024 11:28:33 -0600 Subject: [PATCH 4/5] Update pyproject.toml --- pyproject.toml | 61 ++++++++++++++++---------------------------------- 1 file changed, 19 insertions(+), 42 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fdccf44..236dba0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,20 +10,11 @@ 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 ", -] -maintainers = [ - "Edgar Ramírez Mondragón ", -] +authors = ["Edgar Ramírez Mondragón "] +maintainers = ["Edgar Ramírez Mondragón "] 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" @@ -32,15 +23,15 @@ pyyaml = "~=6.0" requests = "~=2.31.0" singer-sdk = "~=0.37.0" -[tool.poetry.scripts] -tap-dbt = 'tap_dbt.tap:cli' - [tool.poetry.group.dev.dependencies] deptry = ">=0.14.2" faker = ">=17.6" pytest = "~=8.0" responses = "~=0.25.0" +[tool.poetry.scripts] +tap-dbt = 'tap_dbt.tap:cli' + [tool.poetry-dynamic-versioning] enable = true format-jinja = """ @@ -58,47 +49,33 @@ vcs = "git" [tool.ruff] line-length = 88 -src = [ - "tap_dbt", - "tests", -] +src = ["tap_dbt", "tests"] target-version = "py38" -[tool.ruff.lint.isort] -known-first-party = [ - "tap_dbt", -] -required-imports = [ - "from __future__ import annotations", -] - [tool.ruff.lint] ignore = [ - "ANN101", # missing-type-self - "FIX002", # line-contains-todo - "COM812", # missing-trailing-comma - "ISC001", # single-line-implicit-string-concatenation -] -select = [ - "ALL", + "ANN101", # missing-type-self + "FIX002", # line-contains-todo + "COM812", # missing-trailing-comma + "ISC001", # single-line-implicit-string-concatenation ] +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"] + [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" From a660426c36a4f20c82d471948b6caa4cb7c49e7d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:28:41 +0000 Subject: [PATCH 5/5] [pre-commit.ci] auto fixes --- pyproject.toml | 51 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 236dba0..5b2cbdb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] -maintainers = ["Edgar Ramírez Mondragón "] +authors = [ + "Edgar Ramírez Mondragón ", +] +maintainers = [ + "Edgar Ramírez Mondragón ", +] 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" @@ -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"