-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f261c4
commit 7349a33
Showing
61 changed files
with
4,957 additions
and
735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
echo "running cpplint" | ||
cpplint \ | ||
--filter=-build/c++11,-build/include_subdir,-build/header_guard,-whitespace/line_length \ | ||
--recursive ./src ./include ./R-package ./swig ./tests \ | ||
|| exit -1 | ||
echo "done running cpplint" | ||
|
||
echo "running cmakelint" | ||
cmake_files=$( | ||
find . -name CMakeLists.txt -o -path "./cmake/*.cmake" \ | ||
| grep -v external_libs | ||
) | ||
cmakelint \ | ||
--linelength=120 \ | ||
--filter=-convention/filename,-package/stdargs,-readability/wonkycase \ | ||
${cmake_files} \ | ||
|| exit -1 | ||
echo "done running cmakelint" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
echo "running ruff" | ||
ruff check \ | ||
--config=./python-package/pyproject.toml \ | ||
. \ | ||
|| exit -1 | ||
echo "done running ruff" | ||
|
||
echo "running isort" | ||
isort \ | ||
--check-only \ | ||
--settings-path=./python-package/pyproject.toml \ | ||
. \ | ||
|| exit -1 | ||
echo "done running isort" | ||
|
||
echo "running mypy" | ||
mypy \ | ||
--config-file=./python-package/pyproject.toml \ | ||
./python-package \ | ||
|| true | ||
echo "done running mypy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.