~smoser/simplestreams/trunk.moved-to-git

« back to all changes in this revision

Viewing changes to tools/run-flake8

  • Committer: Scott Moser
  • Date: 2016-08-04 14:17:45 UTC
  • Revision ID: smoser@ubuntu.com-20160804141745-5fik1gnetkz2nzh2
tools/run-flake8: fix trusty tox environment

syntax was just bad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    any|cmd) mode="$1"; shift;;
9
9
esac
10
10
 
11
 
if [ "$mode" = "cmd" ]
 
11
if [ "$mode" = "cmd" ] ||
12
12
    { [ "$mode" = "any" ] && command -v flake8 >/dev/null; }; then
13
13
    cmd=( flake8 )
14
14
else