mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 02:16:52 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
cbd515b47c
commit
be18cd8343
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ from typing import Sequence
|
|||
|
||||
platform_eol = os.linesep.encode('ascii')
|
||||
|
||||
|
||||
def fix_file(file_obj: IO[bytes]) -> int:
|
||||
# Test for newline at end of file
|
||||
# Empty files will throw IOError here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue