From 1821c3517e4e36569ff0fc7e548a5f469fe004d4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:52:46 -0600 Subject: [PATCH] chore(deps-dev): pre-commit autoupdate (#252) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps-dev): pre-commit autoupdate updates: - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.1.3) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7) * [pre-commit.ci] auto fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 +-- pyproject.toml | 64 ++++++++++++++++++++++++++--------------- 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72b0631..0bfb2a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,12 +16,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.8.0" + rev: "2.1.3" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.3" + rev: "v0.4.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/pyproject.toml b/pyproject.toml index 4164574..64a7b3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,13 +10,20 @@ name = "tap-jotform" version = "0.0.0" description = "Singer tap for Jotform, built with the Meltano SDK for Singer Taps." 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" homepage = "https://github.com/edgarrmondragon/tap-jotform" repository = "https://github.com/edgarrmondragon/tap-jotform" documentation = "https://github.com/edgarrmondragon/tap-jotform/#readme" -keywords = ["ELT", "Jotform"] +keywords = [ + "ELT", + "Jotform", +] [tool.poetry.dependencies] python = ">=3.8" @@ -27,7 +34,9 @@ structlog = "==24.2.*" [tool.poetry.group.dev.dependencies] pytest = "==8.*" -singer-sdk = { version = "==0.37.*", extras = ["testing"] } +singer-sdk = { version = "==0.37.*", extras = [ + "testing", +] } [tool.poetry.scripts] # CLI declaration @@ -49,28 +58,37 @@ style = "pep440" vcs = "git" [tool.ruff] -line-length = 88 -src = ["tap_jotform", "tests", "noxfile.py"] target-version = "py38" -[tool.ruff.lint] -ignore = ["ANN101", "DJ", "PD", "COM812", "ISC001"] -select = ["ALL"] - -[tool.ruff.lint.flake8-annotations] -allow-star-arg-any = true - -[tool.ruff.lint.isort] -known-first-party = ["tap_jotform"] - -[tool.ruff.lint.per-file-ignores] -"noxfile.py" = ["ANN"] -"tests/*" = ["ANN"] - -[tool.ruff.lint.pydocstyle] -convention = "google" +line-length = 88 +src = [ + "noxfile.py", + "tap_jotform", + "tests", +] +lint.select = [ + "ALL", +] +lint.ignore = [ + "ANN101", + "COM812", + "DJ", + "ISC001", + "PD", +] +lint.per-file-ignores."noxfile.py" = [ + "ANN", +] +lint.per-file-ignores."tests/*" = [ + "ANN", +] +lint.flake8-annotations.allow-star-arg-any = true +lint.isort.known-first-party = [ + "tap_jotform", +] +lint.pydocstyle.convention = "google" [tool.pytest.ini_options] addopts = [ - "-vvv", + "-vvv", ]