39 lines
968 B
TOML
39 lines
968 B
TOML
[project]
|
|
name = "lib-send-notifications-webhook"
|
|
version = "0.1.0"
|
|
description = "Shared library to send notifications via webhook"
|
|
requires-python = ">=3.10"
|
|
authors = [{ name = "Florian Gänsejunge" }]
|
|
dependencies = [
|
|
"requests>=2.31",
|
|
"lib-shared-models",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
shared_models = ["py.typed"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", "F", # pycodestyle errors, pyflakes (unused imports/variables, undefined names)
|
|
"I", # import sorting (replaces isort)
|
|
"B", # bugbear: likely bugs
|
|
"ASYNC", # async mistakes
|
|
"RUF006", # un-referenced asyncio.create_task (tasks can be garbage-collected)
|
|
]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
indent-style = "tab"
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.gansejunge.com/notifier/lib-send-notifications-webhook" |