Skip to content
Snippets Groups Projects
pyproject.toml 1.11 KiB
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "mapping-provider"
version = "0.1"
description = "A webservice providing information for GEANT maps."
authors = [
    {name = "GÉANT", email = "swd@geant.org"}
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
    "Programming Language :: Python :: 3",
    "Framework :: FastAPI",
    "Operating System :: OS Independent",
]
dependencies = [
    "fastapi",
    "requests",
    "jsonschema",
    "sentry_sdk",
    "pika",
    "influxdb"
]

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
exclude = ["test"]


[tool.ruff]
line-length = 120
target-version = "py313"
lint.select = ["E", "F", "I", "B", "UP", "N"]
lint.fixable = ["ALL"]
exclude = ["tests", "docs", "build"]

[tool.mypy]
python_version = "3.13"
strict = true
warn_unused_ignores = true
warn_return_any = true

[[tool.mypy.overrides]]
module = ["influxdb"]
ignore_missing_imports = true

[tool.coverage.run]
source = ["mapping_provider"]
omit = [
    "mapping_provider/backends/rmq/*",
    "test/*"
]