mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 00:51:27 -08:00
138 lines
3.0 KiB
TOML
138 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 = "ess-community"
|
|
description = ""
|
|
version = "0.1.0"
|
|
license = "AGPL-3.0-Only, Element Commercial"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11,<4.0"
|
|
dependencies = []
|
|
|
|
[tool.uv]
|
|
[dependency-groups]
|
|
# Playwright is optional. It publishes no packages for musl hosts (e.g. Alpine Linux), so
|
|
# it is not installed there by default. Install it with scripts/setup_playwright_controller.sh,
|
|
# on every host: on glibc hosts it runs `uv sync --group browser`, on musl hosts it uses a
|
|
# workaround (see the script header).
|
|
browser = [
|
|
"playwright==1.65.1",
|
|
]
|
|
dev = [
|
|
"aiohttp>=3.14.3",
|
|
"checkov>=3.2.530",
|
|
"cryptography>=50.0.0",
|
|
"ess-community-integration-tests",
|
|
"frozendict>=2.4.7",
|
|
"jinja2>=3.1.6",
|
|
"jsonschema>=4.26",
|
|
"mypy>=2.3.0",
|
|
"platformdirs>=4.11.0",
|
|
"pytest>=8.4.2,<9", # pytest 9 is causing issues with asyncio-cooperative
|
|
"pytz>=2026.3.post1",
|
|
"pyyaml>=6.0.3",
|
|
"rapidfuzz>=3.14.5",
|
|
"reuse>=6.2.0",
|
|
"ruamel-yaml>=0.19.1",
|
|
"ruff>=0.16.1",
|
|
"semver>=3.0.4",
|
|
"signedjson>=1.1.4",
|
|
"spdx-tools>=0.8.5",
|
|
"towncrier>=25.8.0",
|
|
"typer>=0.27.1",
|
|
"types-jsonschema>=4.26.0.20260518",
|
|
"types-pytz>=2026.3.1.20260727",
|
|
"types-pyyaml>=6.0.12.20260724",
|
|
"yamale>=6.1.0",
|
|
"yamllint>=1.38.0",
|
|
]
|
|
|
|
[tool.uv.workspace]
|
|
members = ["packages/ess-migration-tool", "tests"]
|
|
|
|
[tool.uv.sources]
|
|
ess-community-integration-tests = { workspace = true }
|
|
ess-migration-tool = { workspace = true }
|
|
|
|
[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 = ""
|
|
directory = "newsfragments"
|
|
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
|