Skip to content

Commit

Permalink
Refine mypy/coverage reports generation. (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan authored Aug 31, 2023
1 parent 4054269 commit a5cf945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ test:
${PIPRUN} python -m coverage erase
${PIPRUN} python -m coverage run -m pytest
${PIPRUN} python -m coverage report
${PIPRUN} python -m coverage xml

########################################################################################
# Package
Expand Down Expand Up @@ -126,7 +127,7 @@ docs-autobuild:

# Generate mypy reports.
docs-mypy:
${PIPRUN} python -m mypy test src --html-report ${PUBLIC_DIR}/reports/mypy
${PIPRUN} python -m mypy src test --html-report ${PUBLIC_DIR}/reports/mypy

# Generate coverage reports.
docs-coverage:
Expand Down
3 changes: 2 additions & 1 deletion template/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ test:
${PIPRUN} python -m coverage erase
${PIPRUN} python -m coverage run -m pytest
${PIPRUN} python -m coverage report
${PIPRUN} python -m coverage xml

########################################################################################
# Package
Expand Down Expand Up @@ -128,7 +129,7 @@ docs-autobuild:

# Generate mypy reports.
docs-mypy:
${PIPRUN} python -m mypy test src --html-report ${PUBLIC_DIR}/reports/mypy
${PIPRUN} python -m mypy src test --html-report ${PUBLIC_DIR}/reports/mypy

# Generate coverage reports.
docs-coverage:
Expand Down

0 comments on commit a5cf945

Please sign in to comment.