---
title: "#pre-commit articles | Hashnode"
description: "Explore 14 articles tagged #pre-commit on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/pre-commit"
---

Tag

# #pre-commit

14 posts · 0 followers

[Ramesh Neupane](https://hashnode.com/@akakritagya) · [Aug 24](https://hashnode.com/posts/how-i-set-up-a-python-project-in-2026-uv-ruff-mypy-and-friends/6a8c324b559f08cfbe150f77)

### [How I Set Up a Python Project in 2026: uv, ruff, mypy and friends](https://akakritagya.hashnode.dev/how-i-set-up-a-python-project-in-2026-uv-ruff-mypy-and-friends?utm_source=hashnode&utm_medium=feed)

Set up a modern Python project with uv, Ruff, mypy, pytest, and pre-commit for fast installs, quality checks, and reliable tests.

12 min read · [akakritagya.hashnode.dev](https://akakritagya.hashnode.dev/how-i-set-up-a-python-project-in-2026-uv-ruff-mypy-and-friends?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/how-i-set-up-a-python-project-in-2026-uv-ruff-mypy-and-friends/6a8c324b559f08cfbe150f77)

[AI Clarity](https://hashnode.com/@aiclarity) · [May 23](https://hashnode.com/posts/the-pre-commit-hook-that-catches-api-keys-before-they-hit-git/6a1124081f237623ea5ccfcf)

### [The Pre-Commit Hook That Catches API Keys Before They Hit Git](https://aiclarity.hashnode.dev/the-pre-commit-hook-that-catches-api-keys-before-they-hit-git?utm_source=hashnode&utm_medium=feed)

The problem: secrets in git are forever You know the drill. A developer hardcodes a Stripe secret key to test a webhook handler locally. They commit. They push. Maybe they catch it themselves and run

8 min read · [aiclarity.hashnode.dev](https://aiclarity.hashnode.dev/the-pre-commit-hook-that-catches-api-keys-before-they-hit-git?utm_source=hashnode&utm_medium=feed)

[GitHubOpenSource](https://hashnode.com/@GitHubOpenSource) · [May 5](https://hashnode.com/posts/supercharge-your-git-hooks-meet-prek-the-blazing-fast-pre-commit-alternative/69fa0b554c59455c6a15c054)

### [Supercharge Your Git Hooks: Meet prek, the Blazing Fast pre-commit Alternative!](https://github-open-source.hashnode.dev/supercharge-your-git-hooks-meet-prek-the-blazing-fast-pre-commit-alternative?utm_source=hashnode&utm_medium=feed)

📝 Quick Summary: Prek is a fast, dependency-free Git hook manager written in Rust, serving as a drop-in alternative to pre-commit. It offers improved performance, reduced disk space usage, and enhanced features like monorepo support and integrated P...

3 min read · [github-open-source.hashnode.dev](https://github-open-source.hashnode.dev/supercharge-your-git-hooks-meet-prek-the-blazing-fast-pre-commit-alternative?utm_source=hashnode&utm_medium=feed)

[DevTools Guide](https://hashnode.com/@devtoolsguide) · [Mar 4](https://hashnode.com/posts/lefthook-fast-simple-git-hooks-without-the-husky-bloat/69a826ab498230eac0715b69)

### [Lefthook: Fast, Simple Git Hooks Without the Husky Bloat](https://devtoolsguide.hashnode.dev/lefthook-fast-simple-git-hooks-without-the-husky-bloat?utm_source=hashnode&utm_medium=feed)

Git hooks automate quality gates: lint before commit, run type checks before push, format code automatically. The standard Node.js ecosystem solution is Husky. It works, but it comes with tradeoffs: Node.js dependency, sequential hook execution, and ...

6 min read · [devtoolsguide.hashnode.dev](https://devtoolsguide.hashnode.dev/lefthook-fast-simple-git-hooks-without-the-husky-bloat?utm_source=hashnode&utm_medium=feed)

[DevTools Guide](https://hashnode.com/@devtoolsguide) · [Mar 3](https://hashnode.com/posts/git-hooks-and-pre-commit-tools-husky-lefthook-and-lint-staged/69a6565ce2d30ab685117123)

### [Git Hooks and Pre-commit Tools: Husky, Lefthook, and lint-staged](https://devtoolsguide.hashnode.dev/git-hooks-and-pre-commit-tools-husky-lefthook-and-lint-staged?utm_source=hashnode&utm_medium=feed)

Git Hooks and Pre-commit Tools: Husky, Lefthook, and lint-staged Git hooks are scripts that run automatically at specific points in the Git workflow -- before a commit, before a push, after a merge. They are the last line of defense against committin...

8 min read · [devtoolsguide.hashnode.dev](https://devtoolsguide.hashnode.dev/git-hooks-and-pre-commit-tools-husky-lefthook-and-lint-staged?utm_source=hashnode&utm_medium=feed)

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [Feb 17](https://hashnode.com/posts/husky-configuration-in-letta-code-codebase/6994898cb4a52807eb45f64e)

### [Husky configuration in Letta Code codebase.](https://thinkthroo.com/blog/husky-configuration-in-letta-code-codebase?utm_source=hashnode&utm_medium=feed)

In this article, we review Husky configuration in Letta Code. We will look at: What is Letta Code? Husky configuration. What is Letta Code? Letta Code is a deeply personalized stateful agent tha

3 min read · [thinkthroo.com](https://thinkthroo.com/blog/husky-configuration-in-letta-code-codebase?utm_source=hashnode&utm_medium=feed)

[codenio](https://hashnode.com/@codenio) · [Feb 8](https://hashnode.com/posts/just-pre-commit-and-shift-left/6988a1057fe4c7664513eb83)

### [pre-commit : Shift Left & Prevent Issues from Entering Your Repo](https://codenio.hashnode.dev/just-pre-commit-and-shift-left?utm_source=hashnode&utm_medium=feed)

Shift left with pre-commit hooks. Automatically catch and fix code quality issues before they enter your repository. Set up linters, formatters, and securit

4 min read · [codenio.hashnode.dev](https://codenio.hashnode.dev/just-pre-commit-and-shift-left?utm_source=hashnode&utm_medium=feed)

[Mark Striebeck](https://hashnode.com/@mstriebeck) · [Oct 13, 2025](https://hashnode.com/posts/guardrails-for-coding-with-agents/68ece42bac0f8b2ee77ff70c)

### [Guardrails for Coding with Agents](https://novibe-vibe-coding.hashnode.dev/guardrails-for-coding-with-agents?utm_source=hashnode&utm_medium=feed)

Working with coding agents can feel like pair programming with an overeager junior partner: enthusiastic, fast, but sometimes reckless. To keep the collaboration safe and productive, I’ve developed a set of safeguards that make coding with agents rel...

3 min read · [novibe-vibe-coding.hashnode.dev](https://novibe-vibe-coding.hashnode.dev/guardrails-for-coding-with-agents?utm_source=hashnode&utm_medium=feed)

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [May 20, 2025](https://hashnode.com/posts/lefthookyml-in-n8n-codebase/682bff2aea348e3fe9b7bd77)

### [lefthook.yml in n8n codebase.](https://thinkthroo.com/blog/lefthookyml-in-n8n-codebase?utm_source=hashnode&utm_medium=feed)

In this article, we review lefthook.yml in n8n codebase. But what is lefthook? LeftHook LeftHook is a fast and powerful Git hooks manager for any type of projects. Install npm install lefthook --save-dev Usage Configure your hooks, install them onc...

2 min read · [thinkthroo.com](https://thinkthroo.com/blog/lefthookyml-in-n8n-codebase?utm_source=hashnode&utm_medium=feed)

[Raine](https://hashnode.com/@RaineYang) · [Jun 4, 2024](https://hashnode.com/posts/pyta-project-editing-pre-commit-hook-configuration/665f4bca03ceaa2a7a2acf96)

### [PyTA Project: Editing pre-commit hook configuration](https://raine-yang.com/pyta-project-editing-pre-commit-hook-configuration?utm_source=hashnode&utm_medium=feed)

Pre-commit hooks are checkers that automatically fix code style issues before commiting the code. Instead of reporting the style errors to users (like PythonTA), they normally do not display the specific style rules being used and just directly refac...

3 min read · [raine-yang.com](https://raine-yang.com/pyta-project-editing-pre-commit-hook-configuration?utm_source=hashnode&utm_medium=feed)
