Closed SodaVolcano closed 4 days ago
Do I have to make .git/hooks/pre-commit? Documentation for pre-commit has it in root dir (https://[pre-commit](https://pre-commit.com/).com/)
Do I have to make .git/hooks/pre-commit? Documentation for pre-commit has it in root dir (https://[pre-commit](https://pre-commit.com/).com/)
Yep should run the check before each commit is made to make sure the commits have consistent style
I was lazy and forgot to add
flake8
, it's a code linter that adds extra complaint if your code style doesn't conform with PEP8poetry
.git/hooks/pre-commit
Run it with
--max-complexity=<number>
and choose some number idk