Fixes linting issue and makes html by default
All checks were successful
gitea-physics/pathfinder/pipeline/head This commit looks good
All checks were successful
gitea-physics/pathfinder/pipeline/head This commit looks good
This commit is contained in:
parent
d31fbb55eb
commit
0e3eddebcc
@ -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]
|
||||||
|
@ -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__
|
Reference in New Issue
Block a user