8000 CI: no lint, type or format gate runs anywhere · Issue #51 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

CI: no lint, type or format gate runs anywhere #51

Closed

Description

@Lillecarl

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:

  • lint -- ruff check
  • lint-strict -- ruff check --config ruff-strict.toml
  • format -- ruff format --check
  • types -- pyright
  • 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.

Finding F13 of CODE_IMPROVEMENT_PLAN.md.

Activity

  1. added
    source: nanopynix
    on Oct 19, 2026
  2. added theissue type on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: nanopynix

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0