Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LF will be replaced by CRLF the next time Git touches it , ruff-format Failed forever. #102

Open
linpan opened this issue Oct 24, 2024 · 1 comment

Comments

@linpan
Copy link

linpan commented Oct 24, 2024

pycham on windows ,

`- repo: https://github.com/astral-sh/ruff-pre-commit

Ruff version.

rev: v0.7.0
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format`

LF will be replaced by CRLF the next time Git touches it

@MichaReiser
Copy link
Member

Hi @linpan

I'm struggling reproducing the issue. Could you help me by sharing your ruff configuration and describing what steps you took and when git replaces LF with CRLF?

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

No branches or pull requests

2 participants