transip-client/pyproject.toml
2025-05-04 09:36:32 +02:00

65 lines
1.3 KiB
TOML

[project]
name = "transip_client"
version = "0.7.0"
description = "Listens for changes about the current public IP and acts upon it."
authors = [{name = "Sonny"}]
license = {text = "GPL-3.0"}
requires-python = ">=3.11"
dependencies = [
"click>=8.0.1",
"python-dotenv>=0.15.0",
"requests>=2.25.1",
"cryptography>=3.4.7",
"ruamel-yaml>=0.18.10",
]
[dependency-groups]
dev = ["ruff>=0.8.6"]
ci = ["coverage>=5.3.1"]
[project.optional-dependencies]
sentry-enabled = ["sentry_sdk>=0.19.5"]
[tool.setuptools.packages]
find = {include = ["transip_client"]}
[[tool.uv.index]]
name = "forgejo"
url = "https://forgejo.fudiggity.nl/sonny/transip-client/packages"
publish-url = "https://forgejo.fudiggity.nl/api/packages/sonny/pypi"
explicit = true
[project.scripts]
transip-update = "transip_client.cli:update"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.uv]
environments = ["sys_platform == 'linux'"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.ruff.lint.isort]
lines-between-types=1
lines-after-imports=2
default-section = "third-party"
known-first-party = ["transip_client"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.coverage.run]
source = ["./transip_client/"]
omit = [
"**/tests/**",
"**/tests.py",
"**/__init__.py"
]