mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add missing init hook
http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#the-init-py-trap
This commit is contained in:
parent
31853d6c43
commit
513a24cde9
5 changed files with 103 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
proper shebang.
|
||||
- `check-json` - Attempts to load all json files to verify syntax.
|
||||
- `check-merge-conflict` - Check for files that contain merge conflict strings.
|
||||
- `check-missing-inits` - Checks for missing `__init__.py` files in any directory containing Python files.
|
||||
- `check-symlinks` - Checks for symlinks which do not point to anything.
|
||||
- `check-toml` - Attempts to load all TOML files to verify syntax.
|
||||
- `check-vcs-permalinks` - Ensures that links to vcs websites are permalinks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue