Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Commit 912a6fc

Browse files
authored
Update unit tests and bump to 0.1.1 (#2)
1 parent bc6f549 commit 912a6fc

9 files changed

Lines changed: 1022 additions & 74 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "0.1.0"
2+
current_version = "0.1.1"
33
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
44
serialize = ["{major}.{minor}.{patch}"]
55
search = "{current_version}"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
reference_fmus/
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
35
*.py[codz]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ publish-dryrun: build ## Dry run of publishing the package to PyPI
5656
# TODO: Check if it will run the pytest from the correct venv
5757
test: ## Run tests using pytest
5858
@echo "🚀 Running tests with pytest"
59-
@uv run --frozen pytest --doctest-modules
59+
@uv run --frozen pytest --doctest-modules --cov=mdreader --cov-report=term --cov-report=xml
6060

6161
.PHONY: help
6262
help:

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mdreader"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "A Python library for reading and parsing Functional Mock-up Interface model description XML file."
55
readme = "README.md"
66
authors = [
@@ -22,8 +22,10 @@ build-backend = "uv_build"
2222
[dependency-groups]
2323
dev = [
2424
"bump-my-version>=1.2.6",
25+
"httpx>=0.28.1",
2526
"pyright>=1.1.407",
2627
"pytest>=9.0.2",
28+
"pytest-cov>=7.0.0",
2729
]
2830

2931
[tool.pyright]

src/mdreader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.1"

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)