mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add forbid-new-submodules to hooks.yaml
This commit is contained in:
parent
7bcb6a92bf
commit
4b928ab06b
4 changed files with 10 additions and 0 deletions
|
|
@ -117,6 +117,12 @@
|
|||
entry: flake8
|
||||
language: python
|
||||
files: \.py$
|
||||
- id: forbid-new-submodules
|
||||
name: Forbid new submodules
|
||||
language: python
|
||||
entry: forbid-new-submodules
|
||||
description: Prevent addition of new git submodules
|
||||
files: ''
|
||||
- id: name-tests-test
|
||||
name: Tests should end in _test.py
|
||||
description: This verifies that test files are named correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue