From 86ba2a8e6855c67ec0c68925447971941d8475e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 16:56:53 +0000 Subject: [PATCH 1/2] 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-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/python-jsonschema/check-jsonschema: 0.33.2 → 0.37.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.33.2...0.37.4) - [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.7...v0.15.20) - [github.com/tox-dev/pyproject-fmt: v2.6.0 → v2.25.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.6.0...v2.25.1) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v2.1.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v2.1.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c68cbcd..3f3c2bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -21,7 +21,7 @@ repos: - id: check-added-large-files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.33.2 + rev: 0.37.4 hooks: - id: check-dependabot - id: check-github-workflows @@ -29,19 +29,19 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.12.7 + rev: v0.15.20 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.6.0" + rev: "v2.25.1" hooks: - id: pyproject-fmt - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v2.1.0 hooks: - id: mypy additional_dependencies: From f0b46285a2b4696eb1524f81bbe2f6e0546477df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 16:57:17 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes --- pyproject.toml | 49 ++++++++++++++++++++----------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6b355e5..1f52fb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ requires = [ name = "tap-athena" version = "1.1.0" description = "`tap-athena` is a Singer tap for Athena, built with the Meltano Singer SDK." -readme = "README.md" +license = "Apache-2.0" authors = [ "AJ Steers ", "Pat Nadolny ", @@ -16,37 +16,28 @@ authors = [ maintainers = [ "Metano Team and Contributors ", ] +readme = "README.md" keywords = [ - "ELT", "Athena", + "ELT", ] -license = "Apache-2.0" packages = [ { include = "tap_athena" }, ] - -[tool.poetry.dependencies] -python = ">=3.9" -pyathena = ">=3,<4" -singer-sdk = "~=0.45.10" - -[tool.poetry.group.dev.dependencies] -pytest = ">=8.0.0" -moto = ">=5.0.0" -coverage = ">=7.3.2" - -[tool.poetry.extras] -s3 = [ +dependencies.python = ">=3.9" +dependencies.pyathena = ">=3,<4" +dependencies.singer-sdk = "~=0.45.10" +group.dev.dependencies.coverage = ">=7.3.2" +group.dev.dependencies.moto = ">=5.0.0" +group.dev.dependencies.pytest = ">=8.0.0" +extras.s3 = [ "fs-s3fs", ] - -[tool.poetry.scripts] # CLI declaration -tap-athena = 'tap_athena.tap:TapAthena.cli' +scripts.tap-athena = "tap_athena.tap:TapAthena.cli" [tool.ruff] target-version = "py39" - line-length = 88 lint.select = [ "A", @@ -112,22 +103,22 @@ lint.unfixable = [ lint.flake8-import-conventions.banned-from = [ "typing", ] -lint.flake8-import-conventions.extend-aliases."typing" = "t" +lint.flake8-import-conventions.extend-aliases.typing = "t" lint.isort.required-imports = [ "from __future__ import annotations", ] lint.pydocstyle.convention = "google" -[tool.pytest.ini_options] -filterwarnings = [ - "error", - "ignore::sqlalchemy.exc.SADeprecationWarning", - "ignore:datetime.datetime.utcnow:DeprecationWarning:botocore.auth", # https://github.com/boto/boto3/issues/3889 -] - [tool.mypy] +python_version = "3.9" plugins = [ "sqlalchemy.ext.mypy.plugin", ] -python_version = "3.9" warn_unused_configs = true + +[tool.pytest] +ini_options.filterwarnings = [ + "error", + "ignore::sqlalchemy.exc.SADeprecationWarning", + "ignore:datetime.datetime.utcnow:DeprecationWarning:botocore.auth", # https://github.com/boto/boto3/issues/3889 +]