Fixes linting issue and makes html by default
All checks were successful
gitea-physics/pathfinder/pipeline/head This commit looks good

This commit is contained in:
Deepak Mallubhotla 2021-08-29 15:01:54 -05:00
parent d31fbb55eb
commit 0e3eddebcc
Signed by: deepak
GPG Key ID: 64BF53A3369104E7
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ build-backend = "poetry.masonry.api"
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]
addopts = "--junitxml pytest.xml --cov pathfinder --cov-report=xml:coverage.xml --cov-fail-under=90" addopts = "--junitxml pytest.xml --cov pathfinder --cov-report=xml:coverage.xml --cov-fail-under=90 --cov-report=html"
junit_family = "xunit1" junit_family = "xunit1"
[tool.mypy] [tool.mypy]

View File

@ -1,6 +1,7 @@
from pathfinder import __version__ from pathfinder import __version__
import pathfinder import pathfinder
def test_version(): def test_version():
assert __version__ == '0.0.1' assert __version__ == '0.0.1'
assert pathfinder.get_version() == __version__ assert pathfinder.get_version() == __version__