Skip to main content

No project description provided

Project description

pre-commit-hooks

Overview

My pre-commit hooks.

Installation

  1. Install pre-commit.

  2. Add the following to your .pre-commit-config.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]
    
  3. Update your .pre-commit-config.yaml:

    pre-commit autoupdate
    

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dycw_pre_commit_hooks-0.9.15.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

dycw_pre_commit_hooks-0.9.15-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page