- Add complete release automation script (release.py) with version management - Add semantic versioning validation and git integration - Create automated changelog generation from git commits - Add comprehensive Makefile targets for release workflow - Set up package building with source and wheel distributions - Add git tagging and repository management - Create extensive release documentation (RELEASE.md) - Add CHANGELOG.md with standardized format - Update dependencies in pyproject.toml (add toml package) Release commands added: - make release-status - Show current release status - make release-validate - Validate repository for release - make release-prepare VERSION=x.y.z - Prepare new release - make release-build - Build release packages - make release-publish VERSION=x.y.z - Complete release workflow - make release-dry-run VERSION=x.y.z - Test release preparation Features: - Semantic versioning with pre-release support - Automated version updates across files - Git status validation and branch checking - Test execution validation - Package building with build tool integration - Git tagging with proper annotations - Comprehensive error handling and validation Resolves #81 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
98 lines
2.4 KiB
TOML
98 lines
2.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "markitect"
|
|
version = "0.1.0"
|
|
description = "Advanced Markdown engine for structured content"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
dependencies = ["markdown-it-py", "PyYAML", "click>=8.0.0", "tabulate>=0.9.0", "jsonpath-ng>=1.5.0", "aiohttp>=3.8.0", "toml"]
|
|
|
|
[project.scripts]
|
|
markitect = "markitect.cli:main"
|
|
tddai = "tddai_cli:main"
|
|
issue = "cli.issue_cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["markitect*", "cli*", "tddai*", "services*", "gitea*", "config*", "domain*", "infrastructure*", "application*"]
|
|
exclude = ["tests*", "wiki*"]
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["tddai_cli"]
|
|
|
|
[tool.mypy]
|
|
# Basic mypy configuration for MarkiTect project
|
|
python_version = "3.12"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_no_return = true
|
|
warn_unreachable = true
|
|
strict_optional = true
|
|
disallow_untyped_calls = false # Gradual adoption
|
|
disallow_untyped_defs = false # Gradual adoption
|
|
disallow_incomplete_defs = false # Gradual adoption
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = false # Gradual adoption
|
|
no_implicit_optional = true
|
|
show_error_codes = true
|
|
show_column_numbers = true
|
|
pretty = true
|
|
|
|
# File patterns to exclude from type checking
|
|
exclude = [
|
|
"^build/.*",
|
|
"^dist/.*",
|
|
"^\\.venv/.*",
|
|
"^\\.markitect_workspace/.*",
|
|
"^tests/.*", # Exclude tests for now during gradual adoption
|
|
]
|
|
|
|
# Module-specific configurations for incremental adoption
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"infrastructure.logging.*",
|
|
"infrastructure.repositories.*",
|
|
"infrastructure.exceptions",
|
|
"infrastructure.config",
|
|
"domain.*"
|
|
]
|
|
# Stricter settings for well-typed modules
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
warn_unused_ignores = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"tddai_cli",
|
|
"markitect.cli",
|
|
"cli.*"
|
|
]
|
|
# Medium strictness for CLI modules (target for improvement)
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"markitect.*",
|
|
"services.*",
|
|
"gitea.*"
|
|
]
|
|
# Basic type checking for legacy modules
|
|
check_untyped_defs = true
|
|
warn_return_any = false # Less strict for legacy code
|
|
|
|
# External library stubs
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"markdown_it.*",
|
|
"jsonpath_ng.*",
|
|
"click.*",
|
|
"tabulate.*",
|
|
"yaml.*"
|
|
]
|
|
ignore_missing_imports = true
|