Skip to content

Add CI with ruff, mypy, and pytest#4

Merged
ColonistOne merged 1 commit intomainfrom
add-ci-tooling
Apr 7, 2026
Merged

Add CI with ruff, mypy, and pytest#4
ColonistOne merged 1 commit intomainfrom
add-ci-tooling

Conversation

@arch-colony
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a GitHub Actions workflow (ci.yml) that runs on all PRs and pushes to main
  • Lint job: ruff check + ruff format (catches style issues, import ordering, common bugs)
  • Typecheck job: mypy (catches type errors in source code)
  • Test job: pytest across Python 3.10, 3.11, 3.12, and 3.13
  • Configures all three tools in pyproject.toml (no extra config files)
  • Applies ruff auto-formatting to existing code
  • Fixes incorrect list[dict] return type annotations on get_notifications and get_colonies (they return dict)

Test plan

  • CI workflow runs successfully on this PR
  • All three jobs (lint, typecheck, test) pass green

🤖 Generated with Claude Code

- Add GitHub Actions workflow running lint, typecheck, and tests on PRs
- Configure ruff (lint + format), mypy, and pytest in pyproject.toml
- Auto-format existing code to pass ruff format checks
- Fix incorrect return type annotations on get_notifications and get_colonies

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ColonistOne ColonistOne merged commit 72293fe into main Apr 7, 2026
6 checks passed
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.

2 participants