zulip/tools/run-isort

9 lines
124 B
Plaintext
Raw Normal View History

#!/bin/sh
set -eu
if [ "$1" = "--fix" ]; then
shift
exec isort "$@"
else
exec isort --check-only --diff "$@"
fi