Skip to content

Commit

Permalink
Set up automated docstring coverage checks
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhigley committed Mar 7, 2022
1 parent ee1d59d commit 892b9fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cpu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Lint with isort
run: |
isort -c .
- name: Lint with interrogate
run: |
interrogate -viImMpPsSCn -f 39.9 merlin
- name: Lint with codespell
run: |
codespell
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ repos:
rev: pylint-2.7.4
hooks:
- id: pylint
- repo: https://github.com/econchick/interrogate
rev: 1.5.0
hooks:
- id: interrogate
args: [-viImMpPsSCn, -f, "39.9", merlin]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ flake8==3.9.2
isort==5.9.3
pylint==2.7.4
bandit==1.7.0
interrogate==1.5.0
pytest>=5
pytest-cov>=2
pytest-xdist
Expand Down

0 comments on commit 892b9fd

Please sign in to comment.