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

file-contents-sorter doesn't use consistent order with --ignore-case option #1105

Open
alexdewar opened this issue Oct 31, 2024 · 1 comment

Comments

@alexdewar
Copy link

I'm trying to use file-contents-sorter to keep a dictionary file sorted, ignoring case. The hook runs fine and updates the file, but when I attempt to commit the changes, it resorts the file again, moving around some entries which differ only in case. If I try to commit those changes, the process repeats.

@asottile
Copy link
Member

works fine for me? please show an actual reproduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants