◐ Shell
clean mode source ↗

Disallow --unique alongside --ignore-cases in file-contents-sorter by nemacysts · Pull Request #1095 · pre-commit/pre-commit-hooks

@nemacysts marked this pull request as ready for review

October 7, 2024 02:03
Closes #794: using these flags at the same time results in undefined
behavior - the final ordering is not guaranteed as --unique breaks
sorting due to passing the contents through a set.

NOTE: I added a newline before and after the mutex group to be
consistent with other usages of mutex groups (e.g.,
check_builtin_literals.py) in this repo.

asottile

apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request

Aug 11, 2025

pat-s pushed a commit to devxygmbh/ansible-data-science-core that referenced this pull request

Jan 22, 2026