Skip to content

feat: add Ruff, Pyright and CI workflow#21

Merged
l3yx merged 1 commit into
oritera:dev-0.3.0from
ZacharyZcR:feat/ruff-pyright-ci
Jun 30, 2026
Merged

feat: add Ruff, Pyright and CI workflow#21
l3yx merged 1 commit into
oritera:dev-0.3.0from
ZacharyZcR:feat/ruff-pyright-ci

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Collaborator

Summary

  • Add Ruff (lint + format) and Pyright (type check) as dev dependencies
  • Configure Ruff with 12 rule groups (pycodestyle, pyflakes, isort, pep8-naming, pyupgrade, flake8-bugbear, flake8-bandit, flake8-builtins, flake8-print, flake8-simplify, ruff-specific) and project-specific ignores
  • Configure Pyright in basic mode targeting Python 3.12
  • Auto-fix 28 lint issues (import sorting, quoted annotations, etc.) and reformat 14 files
  • Fix all 26 Pyright type errors (Optional type narrowing, type guards, union-attr)
  • Add GitHub Actions CI workflow (ci.yml) running ruff check, ruff format --check, pyright, and pytest on push/PR to main and dev-* branches

Test plan

  • uv run ruff check src/ — All checks passed
  • uv run ruff format --check src/ — 40 files already formatted
  • uv run pyright src/ — 0 errors, 0 warnings
  • uv run pytest — 61 passed
  • Verify CI workflow runs on this PR

- Add Ruff (lint + format) and Pyright (type check) as dev dependencies
- Configure Ruff with 12 rule groups and project-specific ignores
- Configure Pyright in basic mode for Python 3.12
- Auto-fix lint issues (import sorting, pyupgrade, etc.)
- Fix all 26 Pyright type errors (Optional narrowing, type guards)
- Add GitHub Actions CI workflow running on push/PR to main and dev-*
@l3yx
l3yx merged commit 2f060d1 into oritera:dev-0.3.0 Jun 30, 2026
1 check 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