119 lines
2.7 KiB
TOML
119 lines
2.7 KiB
TOML
[build-system]
|
|
requires = ["hatchling>=1.21.0"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "cleverclaude"
|
|
version = "0.1.0"
|
|
description = "A modern Python 3.13 micro-service starter"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = {text = "Apache-2.0"}
|
|
authors = [
|
|
{name = "CleverThis", email = "jeffrey.freeman@cleverthis.com"},
|
|
]
|
|
keywords = ["starter", "template"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Typing :: Typed",
|
|
]
|
|
|
|
dependencies = [
|
|
"click>=8.1.7",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"uv>=0.8.0",
|
|
"ruff>=0.4.0",
|
|
"pyright>=1.1.400",
|
|
"behave>=1.2.6",
|
|
"hypothesis>=6.136.6",
|
|
"nox>=2025.4.22",
|
|
"mkdocs-material>=9.6.0",
|
|
"mike>=2.0.0",
|
|
"pre-commit>=3.8.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.cleverthis.com/cleverthis/base/base-python"
|
|
Documentation = "https://cleverthis.github.io/cleverclaude"
|
|
Repository = "https://git.cleverthis.com/cleverthis/base/base-python"
|
|
Issues = "https://git.cleverthis.com/cleverthis/base/base-python/issues"
|
|
|
|
[project.scripts]
|
|
cleverclaude = "cleverclaude.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/cleverclaude"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py313"
|
|
src = ["src", "features"]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
"ARG", # flake8-unused-arguments
|
|
"PTH", # flake8-use-pathlib
|
|
"SIM", # flake8-simplify
|
|
"TID", # flake8-tidy-imports
|
|
"RUF", # Ruff-specific rules
|
|
]
|
|
ignore = []
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
docstring-code-format = true
|
|
|
|
[tool.coverage.run]
|
|
source = ["src"]
|
|
branch = true
|
|
omit = [
|
|
"*/tests/*",
|
|
"*/test_*",
|
|
"*/__pycache__/*",
|
|
"*/venv/*",
|
|
"*/.venv/*",
|
|
"*/.nox/*",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"if self.debug:",
|
|
"if settings.DEBUG",
|
|
"raise AssertionError",
|
|
"raise NotImplementedError",
|
|
"if 0:",
|
|
"if __name__ == .__main__.:",
|
|
"class .*\\bProtocol\\):",
|
|
"@(abc\\.)?abstractmethod",
|
|
]
|
|
show_missing = true
|
|
precision = 2
|
|
skip_covered = false
|
|
|
|
[tool.coverage.html]
|
|
directory = "htmlcov"
|