Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent 70546bc commit 2246b34
Showing 1 changed file with 40 additions and 32 deletions.
72 changes: 40 additions & 32 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ requires = [
name = "tap-geekbot"
version = "0.0.0"
description = "`tap-geekbot` is a Singer tap for Geekbot, built with the Meltano SDK for Singer Taps."
authors = ["Edgar Ramírez-Mondragón <edgarrm358@gmail.com>"]
authors = [
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
]
keywords = [
"ELT",
"singer.io",
Expand All @@ -28,7 +30,9 @@ singer-sdk = "~=0.37.0"
[tool.poetry.group.dev.dependencies]
mypy = ">=1.8.0"
pytest = "~=8.0"
singer-sdk = {version = "~=0.37.0", extras = ["testing"]}
singer-sdk = { version = "~=0.37.0", extras = [
"testing",
] }

[tool.poetry.scripts]
# CLI declaration
Expand All @@ -50,40 +54,42 @@ style = "pep440"
vcs = "git"

[tool.ruff]
line-length = 88
src = ["tap_geekbot", "tests"]
target-version = "py38"

[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"DJ", # flake8-django
"FIX002", # line-contains-todo
"COM812", # missing-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
line-length = 88
src = [
"tap_geekbot",
"tests",
]
select = ["ALL"]
unfixable = [
"ERA001", # commented-out-code
lint.select = [
"ALL",
]

[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true

[tool.ruff.lint.per-file-ignores]
"noxfile.py" = ["ANN"]
"tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
]

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

[tool.ruff.lint.pydocstyle]
convention = "google"
lint.per-file-ignores."noxfile.py" = [
"ANN",
]
lint.per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
]
lint.unfixable = [
"ERA001", # commented-out-code
]
lint.flake8-annotations.allow-star-arg-any = true
lint.isort.known-first-party = [
"tap_geekbot",
]
lint.isort.required-imports = [
"from __future__ import annotations",
]
lint.pydocstyle.convention = "google"

[tool.pytest.ini_options]
addopts = "-vvv"
Expand All @@ -96,4 +102,6 @@ warn_unused_ignores = true

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

0 comments on commit 2246b34

Please sign in to comment.