Skip to content

Commit

Permalink
Update command_runner.py
Browse files Browse the repository at this point in the history
Black is upset, looks like the change is simple enough
  • Loading branch information
Bachmann1234 authored Dec 14, 2023
1 parent 59fed0c commit 0410b2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion diff_cover/command_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def run_command_for_code(command):
"""
Returns command's exit code.
"""
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
process = subprocess.Popen(
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True
)
process.communicate()
return process.returncode

Expand Down

0 comments on commit 0410b2b

Please sign in to comment.