Skip to content

Commit

Permalink
bump version 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfredinni committed Nov 19, 2022
1 parent e039514 commit fa10f7a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased](https://github.com/wilfredinni/dinero/compare/0.1.5...master)
## [Unreleased](https://github.com/wilfredinni/dinero/compare/0.1.6...master)

## [0.1.6](https://github.com/wilfredinni/dinero/releases/tag/0.1.6)

- 100% code coverage 🎉
- Fixed Type Hints for `multiply` and `divide` methods.
Expand Down
2 changes: 1 addition & 1 deletion dinero/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ._dinero import Dinero


__version__ = "0.1.5"
__version__ = "0.1.6"

__all__ = ["Dinero"]
2 changes: 1 addition & 1 deletion dinero/_dinero.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from typing import Any

from ._utils import DecimalEncoder
from ._validators import Validators
from .exceptions import DifferentCurrencyError
from .types import Currency, OperationType
from ._validators import Validators

validate = Validators()

Expand Down
2 changes: 1 addition & 1 deletion dinero/_validators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from decimal import Decimal, InvalidOperation

from .types import OperationType
from .exceptions import InvalidOperationError
from .types import OperationType


class Validators:
Expand Down
3 changes: 2 additions & 1 deletion dinero/types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import TypedDict
from decimal import Decimal
from typing import TypedDict

from typing_extensions import NotRequired

OperationType = str | int | float | Decimal
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dinero"
version = "0.1.5"
version = "0.1.6"
description = "Dinero is a library for working with monetary values in Python."
license = "MIT"
authors = ["Carlos Montecinos Geisse <[email protected]>"]
Expand Down

0 comments on commit fa10f7a

Please sign in to comment.