conservancy_beancount/conservancy_beancount/reports
Ben Sturmfels 7783f7ad10
reports: Fix mypy errors.
Errors were:

  conservancy_beancount/reports/core.py:923: error: Generator has incompatible
  item type "Optional[str]"; expected "str"

  conservancy_beancount/reports/core.py:929: error: Item "None" of
  "Optional[str]" has no attribute "lower"

  conservancy_beancount/reports/ledger.py:534: error: Item "None" of
  "Optional[str]" has no attribute "partition"

  conservancy_beancount/reports/ledger.py:729: error: Item "None" of
  "Optional[str]" has no attribute "lower"

  conservancy_beancount/reports/rewrite.py:563: error: Argument 2 to
  "_iter_yaml" of "RewriteRuleset" has incompatible type "Union[Any, str,
  None]"; expected "str"
2022-02-04 19:11:59 +11:00
..
__init__.py reports.core: Start RelatedPostings class. 2020-04-12 09:47:41 -04:00
accrual.py books: All tools use books.Loader.dispatch() and LoadResult. 2021-02-24 13:15:33 -05:00
balance_sheet.py typing: Updates to pass type checking under mypy>=0.800. 2021-02-26 16:13:02 -05:00
budget.py typing: Updates to pass type checking under mypy>=0.800. 2021-02-26 16:13:02 -05:00
canada.py reports: Prototype Canadian payroll report. 2022-01-21 18:53:12 +11:00
core.py reports: Fix mypy errors. 2022-02-04 19:11:59 +11:00
fund.py fund: Clean up accidental carry-overs from ledger-report docstring. 2021-02-24 15:27:12 -05:00
ledger.py reports: Fix mypy errors. 2022-02-04 19:11:59 +11:00
query.py query: Let the user interrupt interactive queries. 2021-04-01 09:57:42 -04:00
rewrite.py reports: Fix mypy errors. 2022-02-04 19:11:59 +11:00