Skip to main content

pre-commit-hooks-django

Some useful hooks for Django development

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-hooks-django with pre-commit

Add this to your .pre-commit-config.yaml

-   repo: https://github.com/ecugol/pre-commit-hooks-django
    rev: v0.2.0  # Use the ref you want to point at
    hooks:
    -   id: check-untracked-migrations
        # Optional, if specified, hook will work only on these branchesm
        # otherwise it will work on all branches
        args: ["--branches", "main", "other_branch"]

Hooks available

check-untracked-migrations

Forbids commit if untracked migrations files are found (e.g. */migrations/0001_initial.py)

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pre_commit_hooks_django-0.2.1-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pre_commit_hooks_django-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pre_commit_hooks_django-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for pre_commit_hooks_django-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d250fe7a864232124839bcfe38788eceedf2a0a9b118404750937f17985c193e
MD5 bfe5c26f9f6065bcc6f6d8dad5952296
BLAKE2b-256 9740478f94070add7025985b54723a67a8ea91ab0e00e1ab872db020ccfaf2f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page