Files
leleka/.gitattributes
T
Pavlo Ratushnyi 054b57bec8 STRA-367: opt-in Clippy ratchet for too_many_lines, cognitive_complexity and too_many_arguments; limits gate in check-local --product
scripts/check-clippy-limits.sh (check-local.sh --clippy-limits) counts the three lints per crate
with thresholds 30 / 10 / 5 and fails when a total over all crates rises above
clippy-limits-baseline.json. The root clippy.toml carries only the two thresholds of allow-by-default
lints: too_many_arguments is on by default, and a root threshold of 5 fails the hard Clippy gates of
strata-control and strata-desktop-core. No source enables the lints and no rustfmt.toml is added.
check-local.sh --product runs the limits self-tests and the limits gate next to the architecture gate.
2026-11-06 11:26:53 +01:00

30 lines
1.8 KiB
Plaintext

# Rust sources under crates/ and the GPU bring-up scripts are LF in the repository.
# text=auto leaves files that already carry CRLF in the index untouched (no mass renormalization)
# and skips binary-looking files; it only stops CRLF from entering LF files at commit time.
crates/**/*.rs text=auto eol=lf
scripts/gpu-bringup/**/*.py text=auto eol=lf
# Codex lossy-delta study: task files are hashed byte for byte (no EOL conversion); the runner scripts are LF.
scripts/e2e/codex/tasks/** -text
scripts/e2e/codex/delta/** text eol=lf
# Release reproducibility (docs/release/5090-v0.1-checklist.md): the sealed PTX files are pinned by SHA-256 in the sources, so the bytes in the
# working tree must be the bytes in the index on every platform. Without this line a Windows checkout with core.autocrlf=true turns 212 of the
# 273 .ptx files into CRLF (the other 61 end in a NUL byte, which git treats as binary) so the embedded PTX is not the sealed one (a CRLF checkout built a binary 9 MB smaller than every earlier one, docs/experiments/baseline-pair-5090.md part d).
*.ptx -text
# The release packager and the files it copies into the tarball are POSIX shell and systemd text: LF everywhere.
scripts/release/** text eol=lf
deploy/rust-runtime/** text eol=lf
# The embedded expert profile is pinned by SHA-256 in the sources: the bytes in the working tree must be the bytes in the index on every platform.
crates/deploy/data/expert-profile.bin -text binary
# CI entry points run on Linux runners: LF whatever the checkout host's autocrlf says (docs/ci-audit.md).
scripts/ci/** text eol=lf
scripts/check-local.sh text eol=lf
scripts/check-clippy-limits.sh text eol=lf
scripts/check-ci-coverage.py text eol=lf
scripts/install-pinned-rustup.sh text eol=lf
scripts/test-cuda-fixed-ptx.sh text eol=lf
.github/workflows/*.yml text eol=lf