# pre-commit

Published articles for pre-commit.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Starting Android at Khan Academy

DevFeed: [Starting Android at Khan Academy](<https://devfeed.tech/articles/starting-android-at-khan-academy-27408.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/starting-android.htm>)

Author: Khan Academy

Published: 2016-02-29T23:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [android-development](<https://devfeed.tech/topics/android-development.md>), [Development](<https://devfeed.tech/topics/development.md>), [Library](<https://devfeed.tech/topics/library.md>), [modules](<https://devfeed.tech/topics/modules.md>), [ci](<https://devfeed.tech/topics/ci.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [module](<https://devfeed.tech/tags/module.md>), [modules](<https://devfeed.tech/tags/modules.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [picasso](<https://devfeed.tech/tags/picasso.md>), [play-store](<https://devfeed.tech/tags/play-store.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [retrofit](<https://devfeed.tech/tags/retrofit.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Khan Academy describes its first Android app, launched in August 2015, and the engineering practices used to build it. The team adopted established Android and open-source libraries, separated Android-independent core code from the app module, and used fast JVM tests and continuous integration.

### Source excerpt

By Ben Komalo The journey of a thousand miles... In March, 2015--almost 1 year ago to the day--we ... Read more

## Introducing Kempt

DevFeed: [Introducing Kempt](<https://devfeed.tech/articles/introducing-kempt-39037.md>)

Original publisher: [Read original article](<https://www.zacsweers.dev/introducing-kempt/>)

Author: Zac Sweers

Published: 2026-06-23T00:00:23Z

Content type: release

Language: en

Sources: [Zac Sweers](<https://devfeed.tech/sources/zac-sweers.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [pre-commit](<https://devfeed.tech/topics/pre-commit.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [ci](<https://devfeed.tech/topics/ci.md>), [repo](<https://devfeed.tech/topics/repo.md>), [Java](<https://devfeed.tech/topics/java.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [repo](<https://devfeed.tech/tags/repo.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

The article introduces Kempt, a small project designed to replace heavy Gradle-based formatting setups with a repo-local pipeline for formatting and commit hooks. It supports Kotlin, Java, and Rust, and can run locally, in pre-commit hooks, and in CI.

### Source excerpt

Formatting should be boring, in the best possible way.

## Prek, a pre-commit alternative

DevFeed: [Prek, a pre-commit alternative](<https://devfeed.tech/articles/prek-a-pre-commit-alternative-27743.md>)

Original publisher: [Read original article](<https://gagor.pro/2026/02/prek-a-pre-commit-alternative/>)

Author: Tom

Published: 2026-02-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [pre-commit](<https://devfeed.tech/topics/pre-commit.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [execution](<https://devfeed.tech/tags/execution.md>), [git-hooks](<https://devfeed.tech/tags/git-hooks.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [prek](<https://devfeed.tech/tags/prek.md>), [projects](<https://devfeed.tech/tags/projects.md>), [rust](<https://devfeed.tech/tags/rust.md>), [script](<https://devfeed.tech/tags/script.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

The article describes switching from pre-commit to Prek, a Rust-based drop-in alternative that preserves configuration compatibility while providing faster hook execution. It also presents a script for converting multiple repositories.

### Source excerpt

Prek is a Rust-based pre-commit alternative that maintains full config compatibility while delivering significantly faster hook execution.

## 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

## My pre-commit config for Hugo blog

DevFeed: [My pre-commit config for Hugo blog](<https://devfeed.tech/articles/my-pre-commit-config-for-hugo-blog-27692.md>)

Original publisher: [Read original article](<https://gagor.pro/2024/01/my-pre-commit-config-for-hugo-blog/>)

Author: Tom

Published: 2024-01-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [hooks](<https://devfeed.tech/topics/hooks.md>), [Hugo](<https://devfeed.tech/topics/hugo.md>), [Git](<https://devfeed.tech/topics/git.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [make](<https://devfeed.tech/topics/make.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [config](<https://devfeed.tech/tags/config.md>), [devops](<https://devfeed.tech/tags/devops.md>), [git](<https://devfeed.tech/tags/git.md>), [git-pre-commit-configuration](<https://devfeed.tech/tags/git-pre-commit-configuration.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [hugo-blog-automation](<https://devfeed.tech/tags/hugo-blog-automation.md>), [hugo-development-tips](<https://devfeed.tech/tags/hugo-development-tips.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [make](<https://devfeed.tech/tags/make.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [pre-commit-hooks](<https://devfeed.tech/tags/pre-commit-hooks.md>), [pre-commit-setup](<https://devfeed.tech/tags/pre-commit-setup.md>), [static-site-optimization](<https://devfeed.tech/tags/static-site-optimization.md>)

### AI overview

A tutorial showing how to configure pre-commit hooks for a Hugo blog. The configuration automates linting, syntax checks, file optimization, and related cleanup tasks when files are committed.

### Source excerpt

Learn how to set up and use pre-commit hooks to automate tasks like linting, syntax checks, and optimizations for your Hugo blog.

## Setting up precommit lints for all team members

DevFeed: [Setting up precommit lints for all team members](<https://devfeed.tech/articles/setting-up-precommit-lints-for-all-team-members-29054.md>)

Original publisher: [Read original article](<https://dmitrysamoylenko.com/2020/12/06/configure_lints.html>)

Author: Dmitry Samoylenko

Published: 2020-12-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dmitry Samoylenko - Android Developer Blog](<https://devfeed.tech/sources/dmitry-samoylenko-android-developer-blog.md>)

Topics: [Script](<https://devfeed.tech/topics/script.md>), [Git](<https://devfeed.tech/topics/git.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [androidstudio](<https://devfeed.tech/tags/androidstudio.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [detekt](<https://devfeed.tech/tags/detekt.md>), [git](<https://devfeed.tech/tags/git.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [script](<https://devfeed.tech/tags/script.md>), [unix](<https://devfeed.tech/tags/unix.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A tutorial on configuring Detekt and ktlint, running lint checks before each Git commit with a pre-commit script, and sharing the setup with team members. The script supports Unix systems and requires edits for Windows.

### Source excerpt

What lints?