Unverified Commit f96c4ceb authored by Jonathan Giannuzzi's avatar Jonathan Giannuzzi Committed by GitHub
Browse files

[ci] Pin lintr to <3.0 (#5290)

Do not use r-lintr 3.0+
parent 9be084c6
...@@ -75,7 +75,7 @@ if [[ $TASK == "lint" ]]; then ...@@ -75,7 +75,7 @@ if [[ $TASK == "lint" ]]; then
mypy \ mypy \
pycodestyle \ pycodestyle \
pydocstyle \ pydocstyle \
"r-lintr>=2.0" "r-lintr>=2.0,<3.0"
echo "Linting Python code" echo "Linting Python code"
pycodestyle --ignore=E501,W503 --exclude=./.nuget,./external_libs . || exit -1 pycodestyle --ignore=E501,W503 --exclude=./.nuget,./external_libs . || exit -1
pydocstyle --convention=numpy --add-ignore=D105 --match-dir="^(?!^external_libs|test|example).*" --match="(?!^test_|setup).*\.py" . || exit -1 pydocstyle --convention=numpy --add-ignore=D105 --match-dir="^(?!^external_libs|test|example).*" --match="(?!^test_|setup).*\.py" . || exit -1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment