Changeset - 2a33e178927b
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-06-12 18:34:41
brettcsmith@brettcsmith.org
accrual: Clean up comments.
1 file changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/accrual.py
Show inline comments
...
 
@@ -180,4 +180,2 @@ class AccrualPostings(core.RelatedPostings):
 
        super().__init__(source, _can_own=_can_own)
 
        # The following type declarations tell mypy about values set in the for
 
        # loop that are important enough to be referenced directly elsewhere.
 
        self.account = self._single_item(post.account for post in self)
...
 
@@ -220,5 +218,3 @@ class AccrualPostings(core.RelatedPostings):
 
        if account_ok and entity_ok and invoice_ok:
 
            # mypy loses track of the fact that self.invoice must be a str in
 
            # this case (gated on the invoice_ok boolean) and complains it
 
            # doesn't match the type of the return value.
 
            # type ignore for <https://github.com/python/mypy/issues/6670>
 
            yield (self.invoice, self)  # type:ignore[misc]
0 comments (0 inline, 0 general)