# Pre-commit hooks for Python and MLOps CI and deployment practices

DevFeed: [Pre-commit hooks for Python and MLOps CI and deployment practices](<https://devfeed.tech/articles/welcome-to-pre-commit-heaven-38844.md>)

Original publisher: [Read original article](<https://mettlesome.substack.com/p/welcome-to-pre-commit-heaven>)

Author: Raphaël Hoogvliets

Published: 2024-02-07T08:53:41Z

Content type: tutorial

Language: en

Sources: [Raphaël Hoogvliets](<https://devfeed.tech/sources/raphael-hoogvliets.md>)

Topics: [pre-commit](<https://devfeed.tech/topics/pre-commit.md>), [ci](<https://devfeed.tech/topics/ci.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [MLOps](<https://devfeed.tech/topics/mlops.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [best-practices](<https://devfeed.tech/tags/best-practices.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

This tutorial explains how pre-commit hooks run code checks before changes enter local or remote repositories and in CI pipelines. It introduces categories of hooks and previews a selection for Python and MLOps workflows.

## Source excerpt

Where I learned to stop worrying and love deployment