From 7cc06460e9c060f95b251a5a4d55d1a94855798b Mon Sep 17 00:00:00 2001 From: Kevin <43397636+kevinadhiguna@users.noreply.github.com> Date: Fri, 2 Sep 2022 18:52:15 +0700 Subject: [PATCH] refactor: make the path relative to the linting script (#264) --- scripts/run_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_ci.sh b/scripts/run_ci.sh index 2c83c99..f5a48af 100755 --- a/scripts/run_ci.sh +++ b/scripts/run_ci.sh @@ -1,5 +1,5 @@ #!/bin/bash # These are the same steps we are running in Travis CI -python tests/syntax_lint.py +python $(dirname "$0")/../tests/syntax_lint.py flake8 --max-line-length=100 . && echo "PEP8 Passed"