Skip to content

Commit

Permalink
chore: Use Poetry support for PEP 621
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed May 3, 2024
1 parent 2ce4a46 commit e867c84
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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 @@ -16,19 +16,19 @@ repos:
- id: trailing-whitespace

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.5"
rev: "v0.4.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
pass_filenames: true
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 27 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,44 @@ requires = [
"poetry-dynamic-versioning",
]

[tool.poetry]
[project]
name = "tap-betterstack"
version = "0.0.0"
description = "`tap-betterstack` is a Singer tap for Better Stack, built with the Meltano SDK for Singer Taps."
authors = ["Edgar Ramírez-Mondragón <edgarrm358@gmail.com>"]
readme = "README.md"
keywords = [
"Better Stack",
"ELT",
"singer.io",
"Better Stack",
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/edgarrmondragon/tap-betterstack"
repository = "https://github.com/edgarrmondragon/tap-betterstack"
documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
license.file = "Apache-2.0"
authors = [{ name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" }]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = [
"version",
]
dependencies = [
"singer-sdk~=0.37.0",
]
urls.Documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
urls.Homepage = "https://github.com/edgarrmondragon/tap-betterstack"
urls.Repository = "https://github.com/edgarrmondragon/tap-betterstack"
scripts."tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"

[tool.poetry.dependencies]
python = ">=3.8"
singer-sdk = "~=0.37.0"
[tool.poetry]
name = "tap-betterstack"
version = "0.0.0"

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

[tool.poetry.scripts]
# CLI declaration
"tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"

[tool.poetry-dynamic-versioning]
enable = true
format-jinja = """
Expand Down

0 comments on commit e867c84

Please sign in to comment.