You signed in with another tab or window. Reload to refresh your session.
10000
You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: no lint, type or format gate runs anywhere #51
Four static gates are clean, and nothing but habit keeps them clean.
Evidence
ci/workflows/lib.nix builds test jobs only, and each runs ./result/bin/nanopynix-tests. A search for pyright, ruff or treefmt
under .github/ and ci/ matches one # ruff: noqa comment in ci/render.py. flake.nix exposes packages, devShells, legacyPackages
and lib, and no checks.
All four gates pass today, verified:
Command
Result
ruff check
All checks passed
ruff check --config ruff-strict.toml
All checks passed
ruff format --check
259 files already formatted
pyright
0 errors, 0 warnings, 0 informations
Why it matters
ruff-strict.toml is a large, considered configuration, and AGENTS.md says
"This configuration reports zero findings now. Keep it at zero." Nothing
enforces that. The same applies to pyright --strict, which is the main
defence of the project and the reason #43 matters.
Scope
Add a checks output to flake.nix with five derivations:
drift -- check_all_settings_model_drift(include_optional=True) and check_all_store_model_drift()
Add one fast CI job that builds checks.
Caution
Keep treefmt out of CI as a writer. The format gate is ruff format --check, which does not write. The exclusions in treefmt.toml
for the LSP fixture tree are load-bearing, and a check job must not reach
them.
Acceptance criteria
The job fails on a deliberately introduced ruff finding, and on a
deliberately introduced pyright error.
Activity
ci(checks): make the four static gates fail a build