Repository navigation
Add reproducible Python lint and unit checks - #35
Open
justin-replit wants to merge 6 commits into
Open
justin-replit wants to merge 6 commits into
justin-replit wants to merge 6 commits into
Conversation
Assisted-by: Replit
justin-replit
requested review from
lincoln-replit
and removed request for
a team
November 16, 2026 23:58
Assisted-by: Replit
Assisted-by: Replit
Assisted-by: Replit
Assisted-by: Replit
Assisted-by: Replit
lincoln-replit
approved these changes
Nov 17, 2026
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.
Why
The repository's Semaphore pipeline runs Python 3.10 lint and unit tests, but it has no flake checks. Add reproducible equivalents without removing the existing pipeline or changing releases.
What changed
Adds
checks.x86_64-linux.lintandchecks.x86_64-linux.unit. Both use Python 3.10 and dependencies selected from the existing Poetry lockfile. The commands remainruff check src testsandpytest --cov-report term-missing --cov=./src ./tests/unit.The environment contains runtime dependencies plus the locked Ruff, pytest and coverage tools, not documentation or publishing tools. A small fetcher override uses PyPI's Python-tag wheel redirect instead of poetry2nix's failing literal
wheelURL.Source and dependency filesets keep unrelated files out of the check inputs. The unit output retains its
.coveragedata.Expected impact: Nix-based CI can execute and cache the existing lint and unit checks. No hosted speedup is claimed.
Test plan
nix flake checkpassed.git diff --checkpassed.Rollout
Semaphore remains unchanged. The existing
py38throughpy312integration matrix remains intox.ini, outside the Semaphore lint/unit workload. Its live storage fixture and cleanup require separate validation; this PR neither runs nor replaces it.GitHub Actions publishing and manual release commands remain unchanged. No publishing credentials are requested or moved. This additive configuration is safe to revert.
Risk: None. Standard checks: CI and code review cover it.
~ written by ⠕ Replit