Skip to content

Check the Rust function-spacing policy in CI #893

Closed

Description

@LunaStev

Motivation

tools/ci/procedures.json defines check_rust_formatting as cargo fmt --all --check only. That command does not enforce the extra function-spacing rules from tools/format-rust.py, so the CI gate can pass code the project formatter rejects.

Scope

Run the existing spacing check in the shared Python CI procedure with the pinned toolchain. Resolve relevant helper defects first; do not add a duplicate YAML procedure or require an unpinned Rust version.

Difficulty: easy.

Completion criteria

  • Fail the gate for missing function spacing without modifying files.
  • Pass the normalized repository on supported hosts.
  • Test procedure invocation and propagate nonzero status.

Related helper fixes: #888, #889, #890, #891 and #892.

Activity

  1. added
    enhancement
    good first issue
    ci
    on Oct 7, 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

    cienhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions