Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 475 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 475 Bytes

Missing

A simple pre-commit hook to find missing __init__.py. Will obey settings in .gitignore.

Example

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