mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 05:26:53 +00:00
split lines the same when read from stdin
This commit is contained in:
parent
b56c88fe65
commit
32c7ebcd7b
4 changed files with 47 additions and 29 deletions
|
|
@ -334,7 +334,7 @@ class FileProcessor(object):
|
|||
def read_lines_from_stdin(self):
|
||||
# type: () -> List[str]
|
||||
"""Read the lines from standard in."""
|
||||
return utils.stdin_get_value().splitlines(True)
|
||||
return utils.stdin_get_lines()
|
||||
|
||||
def should_ignore_file(self):
|
||||
# type: () -> bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue