From 761a42e5806316d9cb221beb97bb2541e02e2ae7 Mon Sep 17 00:00:00 2001 From: jbannon Date: Fri, 29 Apr 2022 08:08:58 +0000 Subject: [PATCH] bash fix --- tools/linter | 2 +- tools/test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/linter b/tools/linter index 6ddf8bcb..28394065 100755 --- a/tools/linter +++ b/tools/linter @@ -1,6 +1,6 @@ # Run within root directory -if [ $1 = "check" ]; then +if [[ $1 = "check" ]]; then isort . --check-only --diff \ && black . --check \ && pylint src/ \ diff --git a/tools/test b/tools/test index 71b26e1b..16915f28 100755 --- a/tools/test +++ b/tools/test @@ -1,6 +1,6 @@ # Run within root directory -if [ $1 = "html" ]; then +if [[ $1 = "html" ]]; then coverage run -m pytest && coverage html else coverage run -m pytest && coverage report