Skip to content

Add .gitattributes for defining how to handle line endings #1062

@MoralCode

Description

@MoralCode

#1061 included some things that were not working because of files being rewritten with Windows-style line endings (CRLF) rather than Unix style (LF).

GitHub has some documentation here for how to configure Git so that it knows which files it can automatically convert and which it should not: https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings#per-repository-settings

The task for this issue is to set this up on our repository such that Python files do not have their line endings modified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions