You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Can you tell me more about your setup. Are you using Windows with WSL or how do you run ruff on windows vs linux? Do they share a common directory? Do you use any git newline normalization or do you rely on git's default (which uses \r\n on Windows and \n on linux).
You might want to give the line-ending setting a try and e.g. use lf if you want to use \n on all platforms
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
The text was updated successfully, but these errors were encountered: