docs: update documentation and fix lint issues for v1.0.0
Documentation: - Rewrite README.md with current features and git operations - Rewrite docs/ARCHITECTURE.md with layered architecture details - Rewrite docs/tui-ide-spec.md with Alt-key shortcuts - Add docs/code-organization.md for component architecture - Add docs/user-manual.md for end users - Update TODO.md to mark completed items Code fixes: - Fix undefined 'event' variable in diff_pane.py (was _event) - Use ternary operator in editor.py save_file method - Clean up imports in claude_events.py and syntax_service.py - Auto-fix import sorting across multiple files Config: - Add snapshot report path to pyproject.toml pytest options - Exclude clide/vendor from ruff linting - Ignore TCH002/TCH003 type-checking import rules Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
2d2e5f5648
commit
8b1a84e7e2
@@ -80,6 +80,7 @@ asyncio_default_fixture_loop_scope = "function"
|
||||
addopts = [
|
||||
"-v",
|
||||
"--tb=short",
|
||||
"--snapshot-report=logs/snapshot_report.html",
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
@@ -93,6 +94,7 @@ exclude = ["tests", "dist", "build"]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
src = ["clide", "tests"]
|
||||
exclude = ["clide/vendor"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
@@ -116,6 +118,8 @@ ignore = [
|
||||
"SIM105", # contextlib.suppress (try-except-pass is clearer in context)
|
||||
"SIM115", # context handler for files (sometimes not applicable)
|
||||
"PTH123", # Path.open() vs open() (not always cleaner)
|
||||
"TCH002", # move third-party imports to TYPE_CHECKING (clutters code)
|
||||
"TCH003", # move stdlib imports to TYPE_CHECKING (clutters code)
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
|
||||
Reference in New Issue
Block a user