Repository navigation
ci: restore CI with lint, test, and build checks - #9
Merged
Merged
Conversation
CI was moved to .github/workflows_disabled. Restoring it as-is would fail: - The package could not be installed. pyproject.toml declared the invalid classifier "Operating System :: OS Infrastructure Independent", which hatchling rejects; it is now "OS Independent". - The lint step ran `ruff check .` without ruff being installed, and with no ruff config a current ruff enables rules the code was never written against. ruff is now a dev dependency, and [tool.ruff] selects E and F with a 120-character line length. The one line over that limit in omnibioai/_base.py is wrapped. The new .github/workflows/ci.yml runs ruff and pytest on Python 3.10-3.13 for pushes and pull requests to main, then builds the sdist and wheel and runs twine check. It does not publish: the tag-triggered PyPI and GHCR jobs stay in workflows_disabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nxi4bp7DP1ancERNUUfzj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI was moved to
.github/workflows_disabled, so pushes and PRs tomainran no checks. Restoring the old file unchanged would fail at once, so this PR also fixes what it would have hit.Fixes
pyproject.tomldeclared the invalid classifierOperating System :: OS Infrastructure Independent, which hatchling rejects. It is nowOS Independent.ruff check .ran without ruff installed, and without a config a current ruff (0.16) enables rules the code was never written against (48 findings).ruffis now a dev dependency, and[tool.ruff]selectsE/Fwith a 120-character line length; black and isort still handle formatting, per CONTRIBUTING.md. One line over the limit inomnibioai/_base.pyis wrapped.New
.github/workflows/ci.ymlmain:ruff check .andpytest(95% coverage gate frompyproject.toml) on Python 3.10, 3.11, 3.12 and 3.13, thenpython -m buildandtwine check.workflows_disabled/.Verified locally on Python 3.10–3.13: ruff passes; 101 tests pass at 100% coverage; the sdist and wheel build and pass
twine check.🤖 Generated with Claude Code
https://claude.ai/code/session_016nxi4bp7DP1ancERNUUfzj
Generated by Claude Code