A simple pre-commit hook to find missing __init__.py
. Will obey settings in .gitignore
.
Default settings
- repo: https://github.com/hardcoretech/missing
rev: v0.3.0
hooks:
- id: missing-init-py
Exclude some folders
- repo: https://github.com/hardcoretech/missing
rev: v0.3.0
hooks:
- id: missing-init-py
args:
- --exclude
- frontend
- doc