Skip to content

style: normalize executable scripts to LF endings (HPC-safe) - #125

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/crlf-normalize-exec-scripts
Jul 14, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/crlf-normalize-exec-scripts

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

The four scripts/ helpers (convert_config.py, convert_prior_configs.py, edenise.py, generate_priors.py) had CRLF line endings. A CRLF shebang breaks execution on HPC/Linux (bad interpreter: ...^M), so this normalizes them to LF and adds a .gitattributes rule (scripts/*.py eol=lf) to keep them LF going forward.

Line-ending change only — verified with git diff --ignore-cr-at-eol, which shows the sole content change is the new .gitattributes.

Scope is deliberately narrow: executable scripts only. The cosmetic CRLF in regular library .py files is left alone (harmless, no shebang).

🤖 Generated with Claude Code

The four scripts/ helpers had CRLF endings; a CRLF shebang breaks execution
on HPC/Linux. Normalize to LF and pin via .gitattributes (scripts/*.py eol=lf)
so they don't regress. Line-ending change only — no content edits.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 14, 2026
@Jammy2211
Jammy2211 merged commit 254a0af into main Jul 14, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/crlf-normalize-exec-scripts branch July 14, 2026 20:26
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant