Skip to content

Ruff format fails on Windows #13

@rozyczko

Description

@rozyczko

line-ending = 'lf' directive for tool.ruff in pyproject.toml is wreaking total havoc on windows, insisting on replacing every line in every file.
This is because on Windows, the default EOL char is cr-lf.

Note, that when pushing changes to Github, the lines are automatically set to lf
https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings#global-settings-for-line-endings

As is, the template can't be used on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] highestUrgent. Needs attention ASAP[scope] bugBug report or fix (major.minor.PATCH)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions