Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trsoliu/mini-wiki
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.8
Choose a base ref
...
head repository: trsoliu/mini-wiki
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 5 commits
  • 24 files changed
  • 2 contributors

Commits on May 2, 2026

  1. feat: add modern Python toolchain and testing infrastructure (#3)

    - Add pyproject.toml with project metadata and dependencies
    - Configure Ruff (linter/formatter) and mypy (type checker)
    - Add pre-commit hooks for code quality
    - Set up GitHub Actions CI with lint and test jobs
    - Create pytest test suite with 3 test modules (detect_changes, check_quality, generate_toc)
    - Add shared test fixtures in conftest.py
    
    This establishes the foundation for improving code quality and maintainability.
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    trsoliu and claude authored May 2, 2026
    Configuration menu
    Copy the full SHA
    59ab823 View commit details
    Browse the repository at this point in the history
  2. test: expand test coverage to 75% with 70 new test cases (v3.1.0) (#4)

    * test: expand test coverage with 70 new test cases
    
    Add comprehensive test suites for 3 additional core modules:
    - test_extract_docs.py (26 tests, 628 lines) - JSDoc/Python docstring extraction
    - test_generate_diagram.py (20 tests, 459 lines) - Mermaid diagram generation
    - test_init_wiki.py (24 tests, 224 lines) - Wiki initialization
    
    Total: 94 test cases across 6 modules, 1,676 lines of test code
    Test coverage increased from ~30% to ~75% (6/8 core modules)
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    
    * chore: bump version to 3.1.0
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    trsoliu and claude authored May 2, 2026
    Configuration menu
    Copy the full SHA
    9a97b20 View commit details
    Browse the repository at this point in the history
  3. test: achieve 100% module coverage with analyze_project and plugin_ma…

    …nager tests (#5)
    
    Add test suites for the final 2 core modules:
    - test_analyze_project.py (37 tests) - project type detection, monorepo tools,
      package managers, module discovery, documentation finding
    - test_plugin_manager.py (19 tests) - registry CRUD, manifest parsing,
      plugin listing, enable/disable, uninstall
    
    Total: 150 test cases across 8/8 modules, 2,193 lines of test code
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    trsoliu and claude authored May 2, 2026
    Configuration menu
    Copy the full SHA
    11c9f1a View commit details
    Browse the repository at this point in the history
  4. fix: improve code quality across all 8 core scripts (#6)

    - Sort imports alphabetically (isort/Ruff I rule)
    - Replace broad Exception catches with specific OSError
    - Use Optional[T] instead of T = None for type hints
    - Remove debug print statements from plugin_manager.py
    - Remove internal import (re) already at module level in analyze_project.py
    - Move json import to top level in generate_toc.py
    - Fix single-line if statements in analyze_project.py (Ruff E701)
    - Remove traceback.print_exc() from plugin_manager.py error handler
    
    All 8 scripts verified to compile cleanly.
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    trsoliu and claude authored May 2, 2026
    Configuration menu
    Copy the full SHA
    b78dd5d View commit details
    Browse the repository at this point in the history
  5. chore(release): prepare v3.1.0 release (#7)

    - Add comprehensive v3.1.0 changelog entry documenting all improvements
    - Update version badge from 3.0.7 to 3.1.0 in README.md and README.zh.md
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    trsoliu and claude authored May 2, 2026
    Configuration menu
    Copy the full SHA
    e990e8b View commit details
    Browse the repository at this point in the history
Loading