whereis-client/pyproject.toml
2024-12-18 11:30:31 +01:00

55 lines
838 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "whereis-client"
dynamic = ["version"]
description = "WhereIs API client library"
dependencies = [
"requests==2.32.3",
"python-dotenv==1.0.1",
"sseclient-py==1.8.0",
]
[tool.hatch.version]
path = "src/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.hatch.build.targets.sdist]
only-include = ["src"]
[tool.hatch.build.targets.wheel.sources]
"src" = "whereis_client"
[tool.ruff]
select = ["E", "F", "I"]
ignore = []
exclude = [
".git",
".ruff_cache",
"venv",
]
line-length = 88
target-version = "py310"
[tool.ruff.mccabe]
max-complexity = 10
[tool.mypy]
exclude = [
"venv",
"dist",
"twine-trusted.py"
]
ignore_missing_imports = true
[tool.isort]
extend_skip = ["venv"]
profile = "black"