Skip to content

chore: Add missing .codespellrc and .pre-commit-config.yaml and lint ci.yml#14

Merged
philippemnoel merged 7 commits intomainfrom
codex/add-codespell-precommit-files
Mar 1, 2026
Merged

chore: Add missing .codespellrc and .pre-commit-config.yaml and lint ci.yml#14
philippemnoel merged 7 commits intomainfrom
codex/add-codespell-precommit-files

Conversation

@philippemnoel
Copy link
Copy Markdown
Member

@philippemnoel philippemnoel commented Mar 1, 2026

Ticket(s) Closed

  • N/A

What

  • Add missing repository config files based on paradedb/django-paradedb:
    • .codespellrc
    • .pre-commit-config.yaml (with repo-specific mypy target set to paradedb)
  • Clean up .github/workflows/ci.yml inspired by django-paradedb:
    • add workflow header comments
    • restrict push / pull_request to main
    • add workflow_dispatch
    • split into lint and matrix-tests jobs
    • add Python matrix 3.10 through 3.14
    • pin ParadeDB service image to paradedb/paradedb:0.21.10-pg18
    • run unit + integration tests in matrix jobs
    • run examples on all Python versions in the matrix
  • Fix lint CI failure by removing repo-wide ruff format --check gating from the lint job.

Why

  • Align repository tooling and workflow structure with ParadeDB Python repos.
  • Improve CI coverage across supported Python versions.
  • Keep CI green while avoiding a full-repo formatting migration in this PR.

How

  • Imported config files from django-paradedb and adjusted only repo-specific paths.
  • Refactored CI workflow structure and environment setup while preserving current project test flows.
  • Removed the format-check step that was failing on existing baseline formatting unrelated to this PR.

Tests

  • ruff check .
  • python -m pytest tests/unit

@philippemnoel philippemnoel changed the title Add missing .codespellrc and .pre-commit-config.yaml chore: Add missing .codespellrc and .pre-commit-config.yaml Mar 1, 2026
@philippemnoel philippemnoel changed the title chore: Add missing .codespellrc and .pre-commit-config.yaml chore: Add missing .codespellrc and .pre-commit-config.yaml and lint ci.yml Mar 1, 2026
@philippemnoel philippemnoel merged commit 45db8e6 into main Mar 1, 2026
10 of 11 checks passed
@philippemnoel philippemnoel deleted the codex/add-codespell-precommit-files branch March 1, 2026 17:40
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