Skip to content

Commit f2515b7

Browse files
authored
Merge pull request #115 from kedder/dependabot/pip/mypy-0.790
Bump mypy from 0.782 to 0.790
2 parents ebaf3b0 + 9462acd commit f2515b7

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Pipfile.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ofxstatement/statement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,5 +287,5 @@ def recalculate_balance(stmt: Statement) -> None:
287287

288288
stmt.start_balance = stmt.start_balance or D(0)
289289
stmt.end_balance = stmt.start_balance + total_amount
290-
stmt.start_date = min(sl.date for sl in stmt.lines)
291-
stmt.end_date = max(sl.date for sl in stmt.lines)
290+
stmt.start_date = min(sl.date for sl in stmt.lines if sl.date is not None)
291+
stmt.end_date = max(sl.date for sl in stmt.lines if sl.date is not None)

0 commit comments

Comments
 (0)