Changeset - 4a28596db267
[Not reviewed]
0 3 0
Brett Smith - 4 years ago 2020-06-15 22:08:18
brettcsmith@brettcsmith.org
data: bank-statement and tax-statement are link metadata.

Not including them earlier was an oversight.
3 files changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/data.py
Show inline comments
...
 
@@ -57,4 +57,5 @@ DecimalCompat = Union[decimal.Decimal, int]
 
LINK_METADATA = frozenset([
 
    'approval',
 
    'bank-statement',
 
    'check',
 
    'contract',
...
 
@@ -64,4 +65,5 @@ LINK_METADATA = frozenset([
 
    'rt-id',
 
    'statement',
 
    'tax-statement',
 
])
 

	
tests/test_meta_repo_links.py
Show inline comments
...
 
@@ -28,4 +28,5 @@ from conservancy_beancount.plugin import meta_repo_links
 
METADATA_KEYS = [
 
    'approval',
 
    'bank-statement',
 
    'check',
 
    'contract',
...
 
@@ -34,4 +35,5 @@ METADATA_KEYS = [
 
    'receipt',
 
    'statement',
 
    'tax-statement',
 
]
 

	
tests/test_meta_rt_links.py
Show inline comments
...
 
@@ -26,4 +26,5 @@ from conservancy_beancount.plugin import meta_rt_links
 
METADATA_KEYS = [
 
    'approval',
 
    'bank-statement',
 
    'check',
 
    'contract',
...
 
@@ -33,4 +34,5 @@ METADATA_KEYS = [
 
    'rt-id',
 
    'statement',
 
    'tax-statement',
 
]
 

	
0 comments (0 inline, 0 general)