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

Disallow --unique alongside --ignore-cases in file-contents-sorter #1095

Merged
merged 1 commit into from
Oct 26, 2024

Commits on Oct 26, 2024

  1. Disallow --unique alongside --ignore-cases in file-contents-sorter

    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.
    nemacysts authored and asottile committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    6883485 View commit details
    Browse the repository at this point in the history