Skip to content

Commit

Permalink
[ci] ignore CMakeLint errors related to package names (#4801)
Browse files Browse the repository at this point in the history
* Update test.sh

* Update test.sh

* Update test.sh

* Update FindLibR.cmake

* Update r_package.yml

* Update FindLibR.cmake

* Update r_package.yml
  • Loading branch information
StrikerRUS authored Nov 14, 2021
1 parent 144036f commit 874e635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [[ $TASK == "lint" ]]; then
echo "Linting C++ code"
cpplint --filter=-build/c++11,-build/include_subdir,-build/header_guard,-whitespace/line_length --recursive ./src ./include ./R-package ./swig ./tests || exit -1
cmake_files=$(find . -name CMakeLists.txt -o -path "*/cmake/*.cmake")
cmakelint --linelength=120 --filter=-readability/wonkycase ${cmake_files} || true
cmakelint --linelength=120 --filter=-convention/filename,-package/stdargs,-readability/wonkycase ${cmake_files} || exit -1
exit 0
fi

Expand Down

0 comments on commit 874e635

Please sign in to comment.