Disallow --unique alongside --ignore-cases in file-contents-sorter by nemacysts · Pull Request #1095 · pre-commit/pre-commit-hooks
marked this pull request as ready for review
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.
apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request
pat-s pushed a commit to devxygmbh/ansible-data-science-core that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters