CHORE/REPO-SETUP chore(repo): add mise, pre-commit, CI workflow and fix type errors#2
Merged
uptickmetachu merged 1 commit intomainfrom Feb 15, 2026
Merged
Conversation
Set up repo tooling: mise tasks (lint, format, test, ci), pre-commit hooks (ruff, mypy, pytest, commitizen, prettier), ruff with ALL checks, strict mypy, and GitHub Actions CI via mise-action. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
99a7e0f to
cb0b902
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The repository lacked standardised developer tooling for linting, formatting, type checking, and CI. This made it difficult to enforce code quality and catch issues early. Additionally, there were existing mypy type errors that needed resolution before strict type checking could be enabled.
Changes
.mise.tomlwith task runner configuration (lint,format,test,ci,install) and pinned tool versions (Python 3.12, uv, pre-commit).pre-commit-config.yamlwith ruff (lint + format), mypy, pytest, commitizen (commit-msg), and prettier (markdown) hooks.github/workflows/ci.yml) that runs lint, format check, and tests on push/PR to main via miseclaude.py,db.py,tui/column.py,tui/dialogs/create.py, andtui/dialogs/help.pyTest Plan
mise run cilocally — lint, format check, and tests should all passmise run installto set up pre-commit hooks, then make a test commit to verify hooks fireuv run mypy src/passes with strict mode enabled🤖 Generated with Claude Code