Skip to content

Commit

Permalink
v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rlan committed Jun 5, 2024
1 parent 7de532d commit 2ae2519
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/reference/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

0.6.1

* Typing errors in Python 3.9.

0.6.0

* All currency values use decimal.Decimal.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ Ref: [Digital Ocean](https://www.digitalocean.com/community/tutorials/how-to-pub
* [ ] Run local tests and coverage.
* [ ] Update coverage number in project `README.md`.
* [ ] `git commit` and check that GitHub Action tests succeed.
* [ ] `git tag -a v0.5.0 -m "v0.5.0"`
* [ ] `poetry build`
* [ ] `poetry publish`
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 = "beancount-multitool"
version = "0.6.0"
version = "0.6.1"
description = "A CLI tool that converts financial data to Beancount files"
authors = ["Rick Lan <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/beancount_multitool/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0"
__version__ = "0.6.1"
9 changes: 5 additions & 4 deletions src/beancount_multitool/as_transaction.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from datetime import datetime
from decimal import Decimal
import sys
from typing import Optional
import uuid


Expand Down Expand Up @@ -47,17 +48,17 @@ def add_uuid(*args, **kwargs):
@reconcile
@make_hashtags
def as_transaction(
date: datetime | None = None,
date: Optional[datetime] = None,
payee: str = "",
narration: str = "",
tags: list[str] | None = None,
tags: Optional[list[str]] = None,
source_account: str = "",
account: str = "",
amount: Decimal = Decimal(0),
currency: str = "",
flag: str = "",
metadata: dict | None = None,
account_metadata: dict | None = None,
metadata: Optional[dict] = None,
account_metadata: Optional[dict] = None,
**kwargs,
) -> str:
"""
Expand Down

0 comments on commit 2ae2519

Please sign in to comment.