Skip to content

Commit

Permalink
chore(deps-dev): pre-commit autoupdate (#252)
Browse files Browse the repository at this point in the history
* chore(deps-dev): pre-commit autoupdate

updates:
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.3](tox-dev/pyproject-fmt@1.8.0...2.1.3)
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](astral-sh/ruff-pre-commit@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>
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent 184589f commit 1821c35
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
64 changes: 41 additions & 23 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <edgarrm358@gmail.com>"]
maintainers = ["Edgar Ramírez-Mondragón <edgarrm358@gmail.com>"]
authors = [
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
]
maintainers = [
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
]
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"
Expand All @@ -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
Expand All @@ -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",
]

0 comments on commit 1821c35

Please sign in to comment.