Skip to content

CHORE/REPO-SETUP chore(repo): add mise, pre-commit, CI workflow and fix type errors#2

Merged
uptickmetachu merged 1 commit intomainfrom
chore/repo-setup
Feb 15, 2026
Merged

CHORE/REPO-SETUP chore(repo): add mise, pre-commit, CI workflow and fix type errors#2
uptickmetachu merged 1 commit intomainfrom
chore/repo-setup

Conversation

@uptickmetachu
Copy link
Copy Markdown
Owner

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: Added .mise.toml with task runner configuration (lint, format, test, ci, install) and pinned tool versions (Python 3.12, uv, pre-commit)
  • pre-commit: Added .pre-commit-config.yaml with ruff (lint + format), mypy, pytest, commitizen (commit-msg), and prettier (markdown) hooks
  • CI: Added GitHub Actions workflow (.github/workflows/ci.yml) that runs lint, format check, and tests on push/PR to main via mise
  • pyproject.toml: Lowered Python requirement to 3.12, added ruff/mypy config sections, added commitizen and pre-commit dev dependencies
  • Type fixes: Resolved all mypy strict-mode errors across claude.py, db.py, tui/column.py, tui/dialogs/create.py, and tui/dialogs/help.py

Test Plan

  • Run mise run ci locally — lint, format check, and tests should all pass
  • Run mise run install to set up pre-commit hooks, then make a test commit to verify hooks fire
  • Verify CI workflow triggers on this PR and passes
  • Confirm uv run mypy src/ passes with strict mode enabled

🤖 Generated with Claude Code

@uptickmetachu uptickmetachu added AI_GENERATED PR generated with AI assistance ai-pr/minor-tweaks AI-generated PR with manual modifications labels Feb 15, 2026
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>
@uptickmetachu uptickmetachu merged commit 33876bb into main Feb 15, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI_GENERATED PR generated with AI assistance ai-pr/minor-tweaks AI-generated PR with manual modifications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant