Skip to content

Commit 11bd4ae

Browse files
author
Kenneth Nordum
committed
added mypy tests in pipeline
1 parent e2a2edd commit 11bd4ae

File tree

3 files changed

+88
-48
lines changed

3 files changed

+88
-48
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ steps:
2121
pip install poetry
2222
pip install twine
2323
poetry install
24-
# poetry install --no-dev
2524
displayName: "Install dependencies"
2625
26+
- script: |
27+
poetry run mypy .
28+
displayName: "mypy"
29+
2730
- script: |
2831
poetry run pytest tests/ --cov ngi_kof_parser --cov-report html
2932
displayName: "pytest"

poetry.lock

Lines changed: 82 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = '''
1515

1616
[tool.poetry]
1717
name = "ngi-kof-parser"
18-
version = "0.0.3"
18+
version = "0.0.4"
1919
description = "Parser of KOF files. Follows Norkart's KOF 2.0 specification from 2005."
2020
authors = ["Jostein Leira <[email protected]>"]
2121
readme = "README.md"
@@ -29,6 +29,7 @@ black = "*"
2929
pytest = "*"
3030
pytest-cov = "*"
3131
pytest-azurepipelines = "*"
32+
mypy = "*"
3233

3334
[build-system]
3435
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)