Use pyfakefs instead of real files in tests

* adjust review findings
This commit is contained in:
Lorenz Egginger 2021-10-08 11:47:40 +02:00
parent 9d0b99f39f
commit 2f4236158c
4 changed files with 20 additions and 21 deletions

View file

@ -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`