Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#108)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 →
v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/tox-dev/pyproject-fmt: 1.5.3 →
2.1.4](tox-dev/pyproject-fmt@1.5.3...2.1.4)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 →
v0.5.1](astral-sh/ruff-pre-commit@v0.1.9...v0.5.1)
- [github.com/pre-commit/mirrors-mypy: v1.7.1 →
v1.10.1](pre-commit/mirrors-mypy@v1.7.1...v1.10.1)
- [github.com/pre-commit/pre-commit: v3.6.0 →
v3.7.1](pre-commit/pre-commit@v3.6.0...v3.7.1)
- [github.com/python-jsonschema/check-jsonschema: 0.27.3 →
0.29.0](python-jsonschema/check-jsonschema@0.27.3...0.29.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jul 8, 2024
1 parent d139846 commit 73a28b7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-json
exclude: "\\.vscode/.*.json"
Expand All @@ -13,31 +13,31 @@ repos:
- id: trailing-whitespace

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

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.9
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.10.1
hooks:
- id: mypy
pass_filenames: true
additional_dependencies:
- types-requests

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

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.29.0
hooks:
- id: check-dependabot
- id: check-github-workflows
43 changes: 21 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ requires = [
name = "tap-pomelo"
version = "0.0.1"
description = "`tap-pomelo` is a Singer tap for Pomelo, built with the Meltano SDK for Singer Taps."
authors = ["Edgar-Ramírez <edgarrm358@gmail.com>"]
maintainers = ["Edgar-Ramírez <edgarrm358@gmail.com>"]
authors = [ "Edgar-Ramírez <edgarrm358@gmail.com>" ]
maintainers = [ "Edgar-Ramírez <edgarrm358@gmail.com>" ]
keywords = [
"ELT",
"singer.io",
Expand All @@ -21,36 +21,35 @@ homepage = "https://github.com/edgarrmondragon/tap-pomelo"
repository = "https://github.com/edgarrmondragon/tap-pomelo"
documentation = "https://github.com/edgarrmondragon/tap-pomelo#readme"
scripts."tap-pomelo" = "tap_pomelo.tap:TapPomelo.cli"
dependencies = {python = ">=3.8", singer-sdk = "~=0.34.0"}
dependencies = { python = ">=3.8", singer-sdk = "~=0.34.0" }

[tool.poetry.dev-dependencies]
singer-sdk = { version = "*", extras = ["testing"] }
singer-sdk = { version = "*", extras = [ "testing" ] }

[tool.ruff]
line-length = 88
target-version = "py38"

[tool.ruff.lint]
ignore = [
line-length = 88
lint.select = [
"ALL",
]
lint.ignore = [
"ANN101", # missing-type-self
"DJ", # flake8-django
"DJ", # flake8-django
]
select = ["ALL"]

[tool.ruff.lint.per-file-ignores]
"noxfile.py" = ["ANN"]
"tests/*" = [
lint.per-file-ignores."noxfile.py" = [
"ANN",
]
lint.per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"S101", # assert
"SLF001", # private-member-access
]

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

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

[tool.pytest.ini_options]
addopts = "-vvv"
Expand All @@ -61,4 +60,4 @@ warn_unused_configs = true

[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["backoff.*"]
module = [ "backoff.*" ]

0 comments on commit 73a28b7

Please sign in to comment.