In this video tutorial, I'll show you how to set up pre-commit hooks to automatically run Python tests and linting checks every time you commit code changes. Pre-commit hooks are an easy and efficient way to ensure that your code is always up to standards and free of errors, saving you time and effort in the long run. I'll walk you through the process of installing and configuring pre-commit and the necessary plugins, as well as demonstrate how to customize the hook to fit your specific needs. By the end of this tutorial, you'll have a fully functional pre-commit hook setup that will save you time and effort in the development process.

Comments

Back to Home
John Solly Profile Picture
John Solly Profile Picture

John Solly

Hi, I'm John, a Software Engineer with a decade of experience building, deploying, and maintaining cloud-native geospatial solutions. I currently serve as a senior software engineer at New Light Technologies (NLT), where I work on a variety of infrastructure and application development projects.

Throughout my career, I've built applications on platforms like Esri and Mapbox while also leveraging open-source GIS technologies such as OpenLayers, GeoServer, and GDAL. This blog is where I share useful articles with the GeoDev community. Check out my portfolio to see my latest work!