Skip to content

Add org standard lint/test GitHub Action - #4

Merged
aarmey merged 1 commit into
mainfrom
add-ci-workflow
Sep 1, 2026
Merged

Add org standard lint/test GitHub Action#4
aarmey merged 1 commit into
mainfrom
add-ci-workflow

Conversation

@aarmey

@aarmey aarmey commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds .github/workflows/test.yml, matching the meyer-lab org's python-uv-ruff-pytest workflow template (meyer-lab/.github): uv sync, ruff check, ruff format --check, ty check, pytest --cov
  • Adds the dev dependency group (ruff, ty, pytest-cov) and minimal [tool.ruff] / [tool.ty] config the workflow needs
  • Fixes the pre-existing lint/format/type issues this surfaced so the workflow starts green (sorted imports, reformatted long lines, datetime.UTC, collections.abc.Callable, and a few ty: ignore annotations on numpy-stub/kwargs-dispatch false positives)

Independent of #3 (mkdocs) — this only adds the test/lint action, no docs deploy workflow.

Test plan

  • uv run ruff check bootstraptools
  • uv run ruff format --check bootstraptools
  • uv run ty check bootstraptools
  • uv run pytest --cov=bootstraptools (110 passed)

🤖 Generated with Claude Code

https://claude.ai/code/session_01DCdnqsvzruAac1NCN9Thic

Adds .github/workflows/test.yml matching the meyer-lab org's
python-uv-ruff-pytest workflow template (uv sync, ruff check/format,
ty check, pytest --cov), plus the dev dependency group (ruff, ty,
pytest-cov) and ruff/ty config it needs.

Fixes the pre-existing ruff lint/format violations and ty type errors
this surfaced so the workflow starts green: sorted imports, reformatted
long lines, `datetime.UTC`, `collections.abc.Callable`, and `ty:
ignore` annotations on the couple of numpy-stub/kwargs-dispatch false
positives.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DCdnqsvzruAac1NCN9Thic
@aarmey
aarmey merged commit 728e8ac into main Sep 1, 2026
2 checks passed
@aarmey
aarmey deleted the add-ci-workflow branch September 1, 2026 21:03
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