Skip to content

Commit

Permalink
Add XML coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Apr 27, 2024
1 parent c6aefcb commit 75edd64
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 33 deletions.
9 changes: 0 additions & 9 deletions .mypy.ini

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ check: install format ## Run formaters, linters, and static analysis
ifdef CI
git diff --exit-code
endif
poetry run mypy $(PACKAGE) tests --config-file=.mypy.ini
poetry run mypy $(PACKAGE) tests
poetry run pylint $(PACKAGE) tests --rcfile=.pylint.ini
poetry run pydocstyle $(PACKAGE) tests

Expand Down
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,32 @@ quiet = true

profile = "black"

[tool.mypy]

ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true

cache_dir = ".cache/mypy/"

[tool.pytest.ini_options]

addopts = """
--strict-markers
-r sxX
--show-capture=log
--cov-report=html
--cov-report=xml
--cov-report=term-missing:skip-covered
--no-cov-on-fail
"""

cache_dir = ".cache/pytest/"

markers = ["integration"]

[build-system]

requires = ["poetry-core>=1.0"]
Expand Down
23 changes: 0 additions & 23 deletions pytest.ini

This file was deleted.

0 comments on commit 75edd64

Please sign in to comment.