Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
f96c4ceb
Unverified
Commit
f96c4ceb
authored
Jun 14, 2022
by
Jonathan Giannuzzi
Committed by
GitHub
Jun 14, 2022
Browse files
[ci] Pin lintr to <3.0 (#5290)
Do not use r-lintr 3.0+
parent
9be084c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.ci/test.sh
.ci/test.sh
+1
-1
No files found.
.ci/test.sh
View file @
f96c4ceb
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment