mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Add hook for checking python modules
This commit is contained in:
parent
76c604c9fb
commit
1722bd0ce2
5 changed files with 71 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue