Skip to content

feat: upgrade to uv/ruff/ty + depyler Rust parity#18

Merged
noahgift merged 2 commits into
masterfrom
feat/upgrade-uv-ruff-ty-depyler
May 23, 2026
Merged

feat: upgrade to uv/ruff/ty + depyler Rust parity#18
noahgift merged 2 commits into
masterfrom
feat/upgrade-uv-ruff-ty-depyler

Conversation

@noahgift
Copy link
Copy Markdown
Owner

Summary

  • Implements docs/specifications/upgrade-spec.md phases P0–P4.
  • Toolchain locked to uv / ruff / ty only (pip/pylint/black/mypy/poetry banned, CI-grep enforced).
  • 100% branch coverage on funclib, icontract pre/post + hypothesis property tests, pmat comply COMPLIANT.
  • rust/ Cargo workspace with hand-curated funclib twin + proptest parity, clippy -D warnings clean.
  • 96 notebook cells extracted into notebooks/_snippets/, all lint-clean, all transpile via depyler.
  • README now leads with the PAIML course catalog and toolchain badges.

Test plan

  • make fmt-check
  • make lint
  • make type
  • make cover (100%)
  • make rust (cargo fmt + clippy + 6 proptest+unit tests)
  • make snippets (96 cells lint-clean)
  • pmat comply check reports COMPLIANT
  • GitHub Actions ci workflow green

🤖 Generated with Claude Code

noahgift and others added 2 commits May 23, 2026 12:03
Implements docs/specifications/upgrade-spec.md (P0-P4):

- P0: uv-managed pyproject.toml + uv.lock; ruff (lint+format) and ty
  (type-check) replace pip/pylint. New Makefile is uv-only. CI grep
  blocks reintroducing pip/pylint/black/mypy/poetry/pipenv.
- P1: icontract pre/post on funclib + hypothesis property tests;
  100% branch coverage enforced. pmat comply check reports COMPLIANT.
- P2: rust/ Cargo workspace with hand-curated funclib twin (proptest
  parity, clippy -D warnings clean). make depyler regenerates the
  transpiled artifact.
- P3: README leads with the PAIML course catalog + toolchain badges
  and a Quality Gates table.
- P4: 96 code cells extracted from Section 1-4 notebooks into
  notebooks/_snippets/, lint-clean under ruff, 96/96 transpile via
  depyler.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The previous grep flagged the spec doc (which lists banned tools as
prose) and .venv/ contents. Restrict to executable locations only:
Makefile, pyproject.toml, scripts/*.py. Also delete .circleci/config.yml
(Python 3.6, references deleted requirements.txt).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@noahgift noahgift merged commit fbbe3a5 into master May 23, 2026
1 check passed
@noahgift noahgift deleted the feat/upgrade-uv-ruff-ty-depyler branch May 23, 2026 10:08
noahgift added a commit that referenced this pull request May 23, 2026
Apply the README-only changes that were left behind when PR #18 merged
at a stale head SHA. README now contains only the links from
https://github.com/paiml/.github/blob/main/profile/README.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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