4 Tools to Format & Check your Code with Pre-Commit | Flask and Python Backend #6

preview_player
Показать описание
In this video I show how to configure pre-commit in a Python project to format and check the code. I will show 4 tools which will run automatically with the Git hooks.

Content:
* How to configure pre-commit with the Git hooks. This way, the pre-commit actions will be run before each commit;
* How to configure isort into pre-commit. What is isort and how it works;
* How to add black to pre-commit. How black format your code;
* How to add mypy to pre-commit. What is mypy and what is the static type check;
* How to add flake8 and configure it in pre-commit. Which checks does flake8;

Icons:
Рекомендации по теме
Комментарии
Автор

hi, i got issues with model relationship after running isort, only thing that it have changed is import orders

kuririn
join shbcf.ru