Pre-Commit: Enforce coding best-practices

Pre-Commit: Enforce coding best-practices

Infralovers GmbH

1 месяц назад

210 Просмотров

In this video, we'll explore how to use Pre-commit, a powerful framework for managing and maintaining your Git pre-commit hooks. Discover how Pre-commit helps you catch code issues before they make it into your repository, ensuring your codebase stays clean and consistent. We'll walk you through setting up Pre-commit, adding hooks, and even creating custom hooks to suit your project's specific needs. This tool is essential for saving valuable CI/CD resources by catching errors early on.

*Links*
► Pre-Commit - https://pre-commit.com/

*Connect with Infralovers*
► Website - https://www.infralovers.com/
► Facebook - https://www.facebook.com/infralovers/
► Twitter / X - https://twitter.com/infralovers
► LinkedIn - https://www.linkedin.com/company/infralovers
► GitHub - https://github.com/infralovers

*Connect with Jürgen*
► LinkedIn - https://www.linkedin.com/in/juergenbrueder
► GitHub - https://github.com/jaybrueder
► Mastodon - https://metalhead.club/@jaybrueder

*Timestamps*
00:00 Introduction to Pre-Commit
01:21 Installation and configuration
03:25 Adding basic hooks
06:56 Go linting hook
08:48 Custom hooks
11:18 Conclusion

#Precommit #GitHooks #CICD #CodeQuality #SoftwareDevelopment #Programming #DevOps #Automation #TechTutorial #InfraLovers #Python #Git #CodeReview #TechEducation
Ссылки и html тэги не поддерживаются


Комментарии: