In this video we show you how we use pre-commit to automatically run black, flake8, isort and pyupgrade before committing any code.
This is a serious time saver and will make your code cleaner / more consistent.
You can install the tool here: https://pre-commit.com/
The yaml file we showed and are using in our latest projects:
https://gist.github.com/pybites/92959...
---
Check out our brand new Flashcards here:
https://pybit.es/catalogue/
And if you want to work with us as your coaches, check out the PDM program here:
https://pybit.es/catalogue/the-pdm-pr...
To not miss any future video, hit subscribe here:
http://www.youtube.com/c/pybites?sub_...
Subtitles created with IronScribe, our new transcription service:
https://www.ironscribe.io/
Thanks for watching!
На этой странице сайта вы можете посмотреть видео онлайн Increase Python code quality with pre-commit длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Pybites 08 Декабрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 6,635 раз и оно понравилось 140 зрителям. Приятного просмотра!