#!/bin/bash # This never worked. That is, it seems to conform to what syntastic needs, but it wasn't in syntastic's # list of available checkers, even after I appended to my python checker list. if [ "$*" != "" ] then python3 -m mccabe --min 5 "$@" else # Note that /dev/stdin doesn't work on all OSes. If this becomes a problem, we could cat to # a tempfile and delete when done. python3 -m mccabe --min 5 /dev/stdin fi