I am trying to run pre-commit on my code and I am running into some issues. I have successfully run the following two commands to install it:
pip3 install pre-commit
pre-commit install
But now I am trying to run the command to actually check the code:
pre-commit run --all-files --show-diff-on-failure
When I do this, my AVG Antivirus Free opens up 10 windows at the same time checking whether “codespell.exe” is safe. Each one very quickly decides it is safe, but more and more AVG windows keep opening up to the point where I have to restart my computer.
So my questions are:
- Has this happened to anyone else using the legitimate pre-commit before, or have I somehow installed malware?
- If this problem has happened to anyone before, how did you resolve it?