◐ Shell
clean mode source ↗

Remove duplicated packages by vhoulbreque-withings · Pull Request #1014 · pre-commit/pre-commit-hooks

This PR removes duplicate package configuration from the requirements.
Fixes #960

a==1
b==2
# comment
a==1

becomes

# comment
a==1
b==2

In case of duplicates, I chose to favor the one with comments to ensure the comments are not deleted.