From 6773a7cb784fb8b14521348ca8cbc1e42b1a1bd7 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:00:49 -0600 Subject: [PATCH] chore: pre-commit autoupdate (#153) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [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) - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.4](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.0.4) - [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) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 39 ++++++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 04af50c..3781a24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.4.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] @@ -32,12 +32,12 @@ repos: - types-requests - 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 diff --git a/pyproject.toml b/pyproject.toml index 74943cb..e1ec959 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,19 @@ +[build-system] +build-backend = "poetry.core.masonry.api" +requires = [ + "poetry-core>=1", +] + [tool.poetry] name = "tap-smoke-test" version = "0.0.1" description = "`tap-smoke-test` is a Singer tap for SmokeTest, built with the Meltano SDK for Singer Taps." -authors = ["Meltano team and contributors "] -maintainers = ["Meltano team and contributors "] +authors = [ + "Meltano team and contributors ", +] +maintainers = [ + "Meltano team and contributors ", +] license = "Apache-2.0" [tool.poetry.dependencies] @@ -14,13 +24,9 @@ genson = "~=1.2" [tool.poetry.group.dev.dependencies] pytest = "~=8.0" -singer-sdk = { version = "~=0.37.0", extras = ["testing"] } - -[build-system] -build-backend = "poetry.core.masonry.api" -requires = [ - "poetry-core>=1", -] +singer-sdk = { version = "~=0.37.0", extras = [ + "testing", +] } [tool.poetry.scripts] # CLI declaration @@ -32,7 +38,7 @@ target-version = "py38" [tool.ruff.lint] ignore = [ - "ANN101" + "ANN101", ] select = [ "ANN", @@ -47,16 +53,23 @@ mypy-init-return = true suppress-dummy-args = true [tool.ruff.lint.flake8-import-conventions] -banned-from = ["typing"] +banned-from = [ + "typing", +] [tool.ruff.lint.flake8-import-conventions.extend-aliases] typing = "t" [tool.ruff.lint.isort] -required-imports = ["from __future__ import annotations"] +required-imports = [ + "from __future__ import annotations", +] [tool.ruff.lint.per-file-ignores] -"tests/*" = ["ANN", "D1"] +"tests/*" = [ + "ANN", + "D1", +] [tool.ruff.lint.pydocstyle] convention = "google"