File: pretty_flake8.sh

package info (click to toggle)
designate-tempest-plugin 0.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,028 kB
  • sloc: python: 10,439; sh: 35; makefile: 22
file content (6 lines) | stat: -rwxr-xr-x 132 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
#!/bin/sh

TESTARGS=$1

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