ruff: enable warning lints

This commit is contained in:
Jörg Thalheim
2024-10-23 10:20:43 +02:00
committed by Mic92
parent 2f9981c510
commit 4af1954abf
15 changed files with 30 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ def read_multiline_input(prompt: str = "Finish with Ctrl-D") -> str:
Read multi-line input from stdin.
"""
print(prompt, flush=True)
proc = subprocess.run(["cat"], stdout=subprocess.PIPE, text=True)
proc = subprocess.run(["cat"], stdout=subprocess.PIPE, text=True, check=False)
log.info("Input received. Processing...")
return proc.stdout