Files
ess-helm/pyproject.toml

134 lines
3.0 KiB
TOML

# Copyright 2024-2025 New Vector Ltd
# Copyright 2025-2026 Element Creations Ltd
#
# SPDX-License-Identifier: AGPL-3.0-only
[project]
name = ""
description = ""
version = "0.1.0"
license = "AGPL-3.0-Only, Element Commercial"
readme = "README.md"
package-mode = false
requires-python = ">=3.14,<4.0"
dependencies = []
[tool.uv]
[dependency-groups]
dev = [
# For https://github.com/azimuth-cloud/pyhelm3/pull/36 & https://github.com/azimuth-cloud/pyhelm3/pull/37 & https://github.com/azimuth-cloud/pyhelm3/pull/39
"pyhelm3 @ git+https://github.com/element-hq/pyhelm3.git@efa509e7501edeb9d04f2a9e688f6e0088305954",
"lightkube>=0.19.1",
"pytz>=2025.2",
"cryptography>=46.0.5",
"platformdirs>=4.9.2",
"python-on-whales>=0.80.0",
"aiohttp>=3.13.3",
"yamale>=6.1.0",
"typer>=0.24.1",
"pytest>=8.4.2",
"ruff>=0.15.4",
"jinja2>=3.1.6",
"checkov>=3.2.506",
"reuse>=6.2.0",
"signedjson>=1.1.4",
"aiohttp-retry>=2.9.1",
"ruamel-yaml>=0.19.1",
"pytest-kubernetes>=0.7.2",
"pytest-asyncio-cooperative>=0.40.0",
"towncrier>=25.8.0",
"spdx-tools>=0.8.3",
"types-pytz>=2025.2.0.20251108",
"mypy>=1.19.1",
"types-pyyaml>=6.0.12.20250915",
"semver>=3.0.4",
"prometheus-client>=0.24.1",
"jsonschema>=4.26",
"types-jsonschema>=4.26.0.20260109",
"yamllint>=1.38.0",
"httpx-retries>=0.4.6",
"frozendict>=2.4.7",
"types-jsonschema>=4.26.0.20260202",
"rapidfuzz>=3.14.3",
]
[tool.pytest.ini_options]
# we use asyncio-cooperative
addopts = "-p no:asyncio --strict-markers"
max_asyncio_tasks = 32
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-pytest-style
"PT",
]
[tool.towncrier]
package = ""
name = "ESS Community Helm Chart"
filename = "CHANGELOG.md"
# See artifacthub changes kinds https://artifacthub.io/docs/topics/annotations/helm/
# "When using the list of objects option the valid supported kinds are added, changed, deprecated, removed, fixed and security."
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed / Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "internal"
name = "Internal"
showcontent = true
[[tool.mypy.overrides]]
module = ["pyhelm3.*", "pytest_kubernetes.*"]
follow_untyped_imports = true