mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-04 19:44:23 +08:00
* [Sparse] Add sparse matrix C++ implementation * Add documentation * Update * Minor fix * Move Python code to dgl/mock_sparse2 * Move headers to include * lint * Update * Add dgl_sparse directory * Move src code to dgl_sparse * Add __init__.py in tests to avoid naming conflict * Add dgl sparse so in Jenkinsfile * Complete docstring & SparseMatrix basic op * lint * Disable win tests
11 lines
348 B
Bash
11 lines
348 B
Bash
#!/bin/bash
|
|
|
|
# cpplint
|
|
echo 'Checking code style of C++ codes...'
|
|
python3 tests/lint/lint.py dgl cpp include src || exit 1
|
|
python3 tests/lint/lint.py dgl_sparse cpp dgl_sparse/include dgl_sparse/src || exit 1
|
|
|
|
# pylint
|
|
echo 'Checking code style of python codes...'
|
|
python3 -m pylint --reports=y -v --rcfile=tests/lint/pylintrc python/dgl || exit 1
|