Skip to content

Comments

chore: 0.1.5 CI modernization, pre-commit, and docs#90

Open
athola wants to merge 4 commits intomainfrom
code-cleanup-0.1.5
Open

chore: 0.1.5 CI modernization, pre-commit, and docs#90
athola wants to merge 4 commits intomainfrom
code-cleanup-0.1.5

Conversation

@athola
Copy link
Owner

@athola athola commented Feb 18, 2026

Summary

  • Upgraded all GitHub Actions workflows from actions/checkout@v5 to @v6
  • Added config/** to CI trigger paths across all workflows
  • Added coverage-delta PR job measuring coverage on modified source files (60% min)
  • Migrated security.yml from pip to uv with top-level permissions block
  • Added pre-commit with .pre-commit-config.yaml and dedicated CI workflow
  • Expanded make lint with ruff format --check and pycodestyle
  • Added pre-commit run --all-files to make validate
  • Removed pyright from make typecheck (mypy and ty remain)
  • Consolidated duplicate [Unreleased] sections in CHANGELOG.md
  • Updated CLAUDE.md, README, wiki/Contributing, wiki/Testing with accurate counts and new tooling
  • Bumped version 0.1.4 → 0.1.5

Test plan

  • All 2,325 tests pass (make test)
  • make lint passes with new targets
  • make validate runs pre-commit successfully
  • Version reads 0.1.5 via python -c "import importobot; print(importobot.__version__)"
  • CI workflows trigger correctly on push

athola and others added 4 commits February 3, 2026 07:24
GitHub automatically finds SECURITY.md in root directory.
The .github/ version was a stub pointing to the comprehensive
root version, providing no additional value.

Token savings: ~5,300 tokens

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add @lru_cache to get_conflict_prone_libraries() in pattern_matcher.py
- Return frozenset for immutability and cache compatibility
- Extract _resolve_positive_config() helper in bronze_layer.py
- Reduces duplicate code and improves performance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove unused apply_conversion_suggestions_simple() from converter.py
- Remove unused apply_complexity_amplification() from independent_bayesian_scorer.py
- Extract 93 intent patterns from pattern_matcher.py to config/intent_patterns.yaml
- Reduce pattern_matcher.py by ~425 lines with data-driven pattern loading

Cleanup identified via Tier 2 bloat/quality analysis.
Tests: 2263 passed, 1 skipped.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Upgrade all workflows from actions/checkout@v5 to @v6
- Add config/** to CI trigger paths
- Add coverage-delta PR job (60% threshold on modified files)
- Migrate security.yml from pip to uv
- Add pre-commit config, dev dependency, and CI workflow
- Expand make lint with ruff format check and pycodestyle
- Add pre-commit to make validate
- Remove pyright from make typecheck
- Consolidate duplicate CHANGELOG [Unreleased] sections
- Update docs: CLAUDE.md, README, wiki/Contributing, wiki/Testing
- Bump version 0.1.4 → 0.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant