This is an automated email from the ASF dual-hosted git repository. szaszm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 8d53f6f54c0df8be10a2bdb60ed3efb64677cf40 Author: Adam Markovics <[email protected]> AuthorDate: Wed Sep 22 16:06:43 2021 +0200 MINIFICPP-1646 Exclude CLion generated build directories from flake8 scan Such as cmake-build-debug, cmake-build-release, cmake-build-relwithdebinfo. This is to get a clean output when running flake8 locally. Closes #1175 Signed-off-by: Marton Szasz <[email protected]> --- run_flake8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_flake8.sh b/run_flake8.sh index d7e5c4f..be29c00 100755 --- a/run_flake8.sh +++ b/run_flake8.sh @@ -19,4 +19,4 @@ set -euo pipefail directory=${1:-.} -flake8 --exclude thirdparty,build --builtins log,REL_SUCCESS,REL_FAILURE,raw_input --ignore E501,W503 --per-file-ignores="steps.py:F811" "${directory}" +flake8 --exclude thirdparty,build,cmake-build-* --builtins log,REL_SUCCESS,REL_FAILURE,raw_input --ignore E501,W503 --per-file-ignores="steps.py:F811" "${directory}"
