Skip to content

Commit

Permalink
update v0.5.2, the final version of v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Deng Huang committed Dec 20, 2021
1 parent 76a2e89 commit 0374496
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dist/
.idea/
*.pyc
.mypy_cache/
poetry.lock
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ readme = "README.md"
python = "^3.6"

[tool.poetry.dev-dependencies]
toml = "^0.10.2"
pytest = "^6.2.5"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
9 changes: 9 additions & 0 deletions tests/test_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import toml
from typed_args import __version__


def test_package_version():
with open("pyproject.toml", "r") as f:
pyproject_config = toml.load(f)

assert pyproject_config["tool"]["poetry"]["version"] == __version__

0 comments on commit 0374496

Please sign in to comment.