designate/tools/pretty_flake8.sh
Graham Hayes e33a3cf35a Test - add nicer formating to flake8 output
Change-Id: Ie1ee4ae5416277f5012646c8b47477e61ec55be0
2015-07-08 18:29:30 +01:00

7 lines
132 B
Bash
Executable File

#!/bin/sh
TESTARGS=$1
exec 3>&1
status=$(exec 4>&1 >&3; ( flake8 ; echo $? >&4 ) | python tools/pretty_flake8.py) && exit $status