Pre-commit hooks claim files are modified but no changes are detected by Git
Introduction
I recently started using pre-commit hooks to format code before committing changes to Git repositories. Most of the time it works fine, but occasionally it shows some weird behavior. The hooks detected issues and made change but git status
showed no changes were made.
seed isort known_third_party.............................................Passed
isort....................................................................Failed