Pre-commit-hooks-django

Latest version: v0.4.0

Safety actively analyzes 623092 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

This release adds a new hook:

`check-absent-migrations`

Check for absent migrations with manage.py makemigrations --check --dry-run

Thanks to tyzhnenko for contributing.

0.3.0

This release adds two new hooks:

`check-unapplied-migrations`

*WARNING: USE ONLY WITH DJANGO > v3.1*

Check for unapplied migrations with manage.py migrate --check

`po-location-format`

Changes location format for .po files

Options:

--add-location [file, never]

Mandatory, select one of the following options:

file: show only the file path as location
never: remove all locations

0.2.1

This release adds --branches argument to specify on which branches the hook will work:

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

0.1.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.