From ed6d1d7a7c32dbfc7243cab25de165840c695ff3 Mon Sep 17 00:00:00 2001 From: Olli Huotari Date: Sat, 15 Aug 2020 10:09:02 +0300 Subject: [PATCH] [Misc] Include info about flake8_quotes in format.sh (#10123) --- ci/travis/format.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/travis/format.sh b/ci/travis/format.sh index 87822610e..ce16097ef 100755 --- a/ci/travis/format.sh +++ b/ci/travis/format.sh @@ -68,6 +68,10 @@ else echo "WARNING: clang-format is not installed!" fi +if [[ $(flake8 --version) != *"flake8_quotes"* ]]; then + echo "WARNING: Ray uses flake8 with flake8_quotes. Might error without it. Install with: pip install flake8-quotes" +fi + SHELLCHECK_FLAGS=( --exclude=1090 # "Can't follow non-constant source. Use a directive to specify location." --exclude=1091 # "Not following {file} due to some error"