Running: RH7, Python 3.8.3, pre-commit 2.8.2
I download a repo from github. I make a "bad" change to an existing file, such as not enough empty lines preceding class statement. I run
pre-commit run yapf --all-files
and I get Failed as expected.
However, if I create a new file with the same mistake, no error is found! It's as if the new file is not being seen.
Please advise.