mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 12:54:17 +00:00
Update README.md - sentence standardization and clean up
This commit is contained in:
parent
2a9bc76ca7
commit
ad5280c78f
1 changed files with 3 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ The following arguments are available:
|
||||||
- `--unique` - ensure each line is unique.
|
- `--unique` - ensure each line is unique.
|
||||||
|
|
||||||
#### `fix-byte-order-marker`
|
#### `fix-byte-order-marker`
|
||||||
removes UTF-8 byte order marker
|
Removes UTF-8 byte order marker.
|
||||||
|
|
||||||
#### `forbid-new-submodules`
|
#### `forbid-new-submodules`
|
||||||
Prevent addition of new git submodules.
|
Prevent addition of new git submodules.
|
||||||
|
|
@ -136,7 +136,7 @@ This is intended as a helper to migrate away from submodules. If you want to
|
||||||
ban them entirely use `forbid-submodules`
|
ban them entirely use `forbid-submodules`
|
||||||
|
|
||||||
#### `forbid-submodules`
|
#### `forbid-submodules`
|
||||||
forbids any submodules in the repository.
|
Forbids any submodules in the repository.
|
||||||
|
|
||||||
#### `mixed-line-ending`
|
#### `mixed-line-ending`
|
||||||
Replaces or checks mixed line ending.
|
Replaces or checks mixed line ending.
|
||||||
|
|
@ -147,7 +147,7 @@ Replaces or checks mixed line ending.
|
||||||
- `no` - Checks if there is any mixed line ending without modifying any file.
|
- `no` - Checks if there is any mixed line ending without modifying any file.
|
||||||
|
|
||||||
#### `name-tests-test`
|
#### `name-tests-test`
|
||||||
verifies that test files are named correctly.
|
Verifies that test files are named correctly.
|
||||||
- `--pytest` (the default): ensure tests match `.*_test\.py`
|
- `--pytest` (the default): ensure tests match `.*_test\.py`
|
||||||
- `--pytest-test-first`: ensure tests match `test_.*\.py`
|
- `--pytest-test-first`: ensure tests match `test_.*\.py`
|
||||||
- `--django` / `--unittest`: ensure tests match `test.*\.py`
|
- `--django` / `--unittest`: ensure tests match `test.*\.py`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue