2025-09-23 02:41:32 +02:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "markitect"
|
2025-10-19 21:47:46 +02:00
|
|
|
version = "0.2.0"
|
2025-09-23 02:41:32 +02:00
|
|
|
description = "Advanced Markdown engine for structured content"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.8"
|
2025-10-03 06:07:10 +02:00
|
|
|
dependencies = ["markdown-it-py", "PyYAML", "click>=8.0.0", "tabulate>=0.9.0", "jsonpath-ng>=1.5.0", "aiohttp>=3.8.0", "toml"]
|
2025-09-25 02:31:27 +02:00
|
|
|
|
2025-10-05 12:49:28 +02:00
|
|
|
[project.optional-dependencies]
|
|
|
|
|
capabilities = [
|
|
|
|
|
"markitect-content @ file:./capabilities/markitect-content"
|
|
|
|
|
]
|
|
|
|
|
|
2025-09-25 02:31:27 +02:00
|
|
|
[project.scripts]
|
|
|
|
|
markitect = "markitect.cli:main"
|
feat: Complete CLI consolidation - fix redundancy and missing interfaces
🎯 MAJOR CLI ARCHITECTURE CONSOLIDATION:
✅ Added Missing CLI Entry Points:
• tddai = "tddai_cli:main" - TDD workflow management
• issue = "cli.issue_cli:main" - Pure issue management
• All three CLIs now properly installed: markitect, tddai, issue
🧹 Eliminated Functionality Redundancy:
• Removed issue commands from markitect/cli.py (clean separation)
• MarkiTect now focuses purely on document processing
• TDD workflow in tddai CLI, issue management in issue CLI
🏗️ Clean Architecture Implementation:
• Created cli/issue_cli.py - Dedicated pure issue management
• Enhanced cli/commands/export.py with export_issues_csv/json
• Updated cli/core.py with proper export method delegation
• Fixed pyproject.toml to include all required packages
🧪 Comprehensive Testing:
• Added tests/test_cli_consolidation.py - Prevents CLI regression
• Tests ensure all CLIs are installed and functional
• Tests verify no functionality duplication
• Regression protection against missing CLI commands
📋 Clear Separation of Concerns:
• markitect CLI - Document processing, templates, performance
• tddai CLI - TDD workflow, workspace management, coverage
• issue CLI - Pure issue operations, project management, export
🔧 Package Configuration:
• Updated pyproject.toml to include cli*, tddai*, services*, etc.
• Added py-modules for tddai_cli standalone module
• Fixed import paths and dependencies
This consolidation resolves the major redundancy identified in issues
functionality and ensures proper CLI interfaces are available and tested.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 23:04:57 +02:00
|
|
|
tddai = "tddai_cli:main"
|
|
|
|
|
issue = "cli.issue_cli:main"
|
2025-09-23 02:41:32 +02:00
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
feat: Complete CLI consolidation - fix redundancy and missing interfaces
🎯 MAJOR CLI ARCHITECTURE CONSOLIDATION:
✅ Added Missing CLI Entry Points:
• tddai = "tddai_cli:main" - TDD workflow management
• issue = "cli.issue_cli:main" - Pure issue management
• All three CLIs now properly installed: markitect, tddai, issue
🧹 Eliminated Functionality Redundancy:
• Removed issue commands from markitect/cli.py (clean separation)
• MarkiTect now focuses purely on document processing
• TDD workflow in tddai CLI, issue management in issue CLI
🏗️ Clean Architecture Implementation:
• Created cli/issue_cli.py - Dedicated pure issue management
• Enhanced cli/commands/export.py with export_issues_csv/json
• Updated cli/core.py with proper export method delegation
• Fixed pyproject.toml to include all required packages
🧪 Comprehensive Testing:
• Added tests/test_cli_consolidation.py - Prevents CLI regression
• Tests ensure all CLIs are installed and functional
• Tests verify no functionality duplication
• Regression protection against missing CLI commands
📋 Clear Separation of Concerns:
• markitect CLI - Document processing, templates, performance
• tddai CLI - TDD workflow, workspace management, coverage
• issue CLI - Pure issue operations, project management, export
🔧 Package Configuration:
• Updated pyproject.toml to include cli*, tddai*, services*, etc.
• Added py-modules for tddai_cli standalone module
• Fixed import paths and dependencies
This consolidation resolves the major redundancy identified in issues
functionality and ensures proper CLI interfaces are available and tested.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 23:04:57 +02:00
|
|
|
include = ["markitect*", "cli*", "tddai*", "services*", "gitea*", "config*", "domain*", "infrastructure*", "application*"]
|
|
|
|
|
exclude = ["tests*", "wiki*"]
|
|
|
|
|
|
|
|
|
|
[tool.setuptools]
|
|
|
|
|
py-modules = ["tddai_cli"]
|
2025-09-27 09:02:31 +02:00
|
|
|
|
|
|
|
|
[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
|