Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#153)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 →
v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4)
- [github.com/tox-dev/pyproject-fmt: 1.8.0 →
2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4)
- [github.com/python-jsonschema/check-jsonschema: 0.28.2 →
0.28.3](python-jsonschema/check-jsonschema@0.28.2...0.28.3)
<!--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] authored May 13, 2024
1 parent f012b03 commit 6773a7c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
39 changes: 26 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
maintainers = ["Meltano team and contributors <[email protected]>"]
authors = [
"Meltano team and contributors <[email protected]>",
]
maintainers = [
"Meltano team and contributors <[email protected]>",
]
license = "Apache-2.0"

[tool.poetry.dependencies]
Expand All @@ -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
Expand All @@ -32,7 +38,7 @@ target-version = "py38"

[tool.ruff.lint]
ignore = [
"ANN101"
"ANN101",
]
select = [
"ANN",
Expand All @@ -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"

0 comments on commit 6773a7c

Please sign in to comment.