Add interrogate for docstring coverage
@@ -16,10 +16,11 @@ before_script:
linting:
stage: linting
script:
- - pip install flake8 yapf isort
+ - pip install flake8 yapf isort interrogate
- flake8 .
- isort -rc --check-only --diff mmedit/ tools/ tests/
- yapf -r -d mmedit/ tools/ tests/ configs/
+ - interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex="__repr__" --exclude mmedit/ops --fail-under 50 mmedit
test:
stage: test
