mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Use pyfakefs instead of real files in tests
* adjust review findings
This commit is contained in:
parent
9d0b99f39f
commit
2f4236158c
4 changed files with 20 additions and 21 deletions
|
|
@ -59,8 +59,8 @@ Attempts to load all json files to verify syntax.
|
|||
Check for files that contain merge conflict strings.
|
||||
|
||||
#### `check-number-of-lines-count`
|
||||
Check if number of lines of a file is greater than a threshold. You can
|
||||
configure this with the following commandline option:
|
||||
Check if the number of lines of a file is greater than a threshold.
|
||||
You can configure this with the following command line option:
|
||||
- `--max-lines N` - maximum number of lines allowed in a file.
|
||||
|
||||
#### `check-shebang-scripts-are-executable`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue