jorisroovers / gitlint

Linting for your git commit messages
http://jorisroovers.github.io/gitlint
MIT License
791 stars 99 forks source link

Hatch autofix script: always run black #480

Closed jorisroovers closed 1 year ago

jorisroovers commented 1 year ago

Before this patch, we didn't run black as part of autofix if ruff --fix returned an error. This patch ensures the exit status of ruff --fix is ignored and black always runs.

coveralls commented 1 year ago

Coverage Status

Coverage: 99.683%. Remained the same when pulling 49c55b6b6c3be9c18da7bcd5689a217a181c3a7e on autofix-always-run-black into 91c4331af798528a885bc919a9aaa62bf7a2137b on main.