Metadata-Version: 2.3
Name: dycw-pre-commit-hooks
Version: 0.9.10
Author-email: Derek Wan <d.wan@icloud.com>
Requires-Python: >=3.11
Requires-Dist: click<8.2,>=8.1.7
Requires-Dist: dycw-utilities<0.26,>=0.25.1
Requires-Dist: loguru<0.8,>=0.7.2
Requires-Dist: semver<3.1,>=3.0.2
Requires-Dist: tomlkit<0.13,>=0.12.3
Requires-Dist: xdg-base-dirs<6.1,>=6.0.1
Provides-Extra: dev
Requires-Dist: dycw-utilities[test]; extra == 'dev'
Requires-Dist: hatch; extra == 'dev'
Description-Content-Type: text/markdown

# pre-commit-hooks

## Overview

My [`pre-commit`](https://pre-commit.com/) hooks.

## Installation

1. Install `pre-commit`.

1. Add the following to your `.pre-commit-config.yaml`:

   ```yaml
   repos:
     - repo: https://github.com/dycw/pre-commit-hooks
       rev: master
       hooks:
         - id: run-bump2version
           args: [--setup-cfg]
         - id: run-dockfmt
         - id: run-hatch-version
         - id: run-ruff-format
         - id: run-uv-pip-compile
           args: [--python-version=3.9]
   ```

1. Update your `.pre-commit-config.yaml`:

   ```bash
   pre-commit autoupdate
   ```
