Add hook for checking python modules

This commit is contained in:
Jonathan Como 2019-02-16 14:15:07 -08:00
parent 76c604c9fb
commit 1722bd0ce2
5 changed files with 71 additions and 0 deletions

View file

@ -42,6 +42,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-python-modules` - Ensure python modules have their `__init__.py` file.
- `check-symlinks` - Checks for symlinks which do not point to anything.
- `check-vcs-permalinks` - Ensures that links to vcs websites are permalinks.
- `check-xml` - Attempts to load all xml files to verify syntax.