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
OpenDAS
mmdetection3d
Commits
0324ae65
Commit
0324ae65
authored
Jun 28, 2020
by
zhangwenwei
Browse files
Use interrogate to check docstrings
parent
95951f76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.gitlab-ci.yml
.gitlab-ci.yml
+5
-4
requirements/tests.txt
requirements/tests.txt
+1
-0
No files found.
.gitlab-ci.yml
View file @
0324ae65
...
...
@@ -27,15 +27,16 @@ linting:
stage
:
test
script
:
-
echo "Start building..."
-
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
-
pip install git+https://github.com/open-mmlab/mmcv.git
-
pip install git+https://github.com/open-mmlab/mmdetection.git
-
pip install
-q
"git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
-
pip install
-q
git+https://github.com/open-mmlab/mmcv.git
-
pip install
-q
git+https://github.com/open-mmlab/mmdetection.git
-
python -c "import mmdet; print(mmdet.__version__)"
-
pip install
-v
-e .[all]
-
pip install -e .[all]
-
python -c "import mmdet3d; print(mmdet3d.__version__)"
-
echo "Start testing..."
-
coverage run --branch --source mmdet3d -m pytest tests/
-
coverage report -m
-
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --exclude mmdet3d/ops --ignore-regex "__repr__" --fail-under 44 mmdet3d
test:pytorch1.3-cuda10:
image
:
$PYTORCH_IMAGE
...
...
requirements/tests.txt
View file @
0324ae65
asynctest
codecov
flake8
interrogate
isort
# Note: used for kwarray.group_items, this may be ported to mmcv in the future.
kwarray
...
...
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