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
|
|
@ -12,7 +12,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
|
|||
default=30,
|
||||
type=int,
|
||||
action='store',
|
||||
help='Maximum allowable number of lines (default: 30)',
|
||||
help='Maximum allowed number of lines',
|
||||
)
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue