Files
judas_client/pyproject.toml
github-actions[bot] 9c1aee6bba chore(release): 0.3.0
2025-11-30 17:40:21 +00:00

93 lines
2.0 KiB
TOML

[build-system]
requires = ["uv_build>=0.7.15,<0.8.0"]
build-backend = "uv_build"
[project]
name = "judas_client"
version = "0.3.0"
description = "A client for judas, a remote PC fleet management system."
readme = "README.md"
authors = []
requires-python = ">=3.13"
dependencies = [
"judas-protocol",
]
license = { text = "GPL-3.0+" }
[dependency-groups]
bump = ["git-cliff>=2.9.1", "python-semantic-release>=10.2.0"]
lint = [
"isort>=6.0.1",
"ruff>=0.13.1",
]
test = [
"pytest>=4.2.1",
"pytest-cov>=6.2.1",
"pytest-github-actions-annotate-failures>=0.3.0",
"pytest-mock>=3.14.1",
]
[tool.basedpyright]
typeCheckingMode = "basic"
[tool.ruff]
line-length = 79
exclude = ["tests/*"]
[tool.ruff.lint.pycodestyle]
max-line-length = 79
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 72
[tool.pytest.ini_options]
addopts = [
"--cov-report=term-missing",
"--cov-report=html",
"--cov-fail-under=100",
]
[tool.coverage.run]
omit = ["src/judas_client/__init__.py", "examples/*", "docs/*", "tests/*"]
[tool.semantic_release]
version_variables = ["src/judas_client/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
build_command_env = []
commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "conventional"
logging_use_named_masks = false
major_on_zero = true
allow_zero_version = true
no_git_verify = false
tag_format = "{version}"
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
default_bump_level = 0
[tool.uv.sources]
judas-protocol = { git = "https://gitea.pufereq.pl/judas/judas_protocol.git" }