Skip to content

Normalize line endings to LF and enforce via .gitattributes and pre-c… - #324

Open
amd-ansonyim wants to merge 1 commit into
developmentfrom
enforce_lf
Open

amd-ansonyim wants to merge 1 commit into
developmentfrom
enforce_lf

Conversation

@amd-ansonyim

Copy link
Copy Markdown
Collaborator

Summary

  • Add .gitattributes with 'eol=lf' rules and a pre-commit mixed-line-ending hook to prevent CRLF drift. Convert all existing CRLF files to LF.

  • This is a mechanical, EOL-only change with no logic modifications. Committed with --no-verify to bypass two pre-existing, unrelated mypy errors (test_version.py, serviceability_plugin_mi3xx.py) that an EOL-only change cannot affect.

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed

…ommit

Add .gitattributes with 'eol=lf' rules and a pre-commit mixed-line-ending
hook to prevent CRLF drift. Convert all existing CRLF files to LF.

This is a mechanical, EOL-only change with no logic modifications.
Committed with --no-verify to bypass two pre-existing, unrelated mypy
errors (test_version.py, serviceability_plugin_mi3xx.py) that an EOL-only
change cannot affect.
run: uv build

- name: Upload to PyPI using Trusted Publisher
uses: pypa/gh-action-pypi-publish@release/v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants