Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add InvestStatmentLine as possible return from parse_record to fix typing check errors. #263

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d75b085
Add InvestStatmentLine as possible reutrn to fix typing check errors.
jaik03 Jan 14, 2024
498485b
Return pkg_resources namespaces back
kedder Jan 17, 2024
f7af059
Merge pull request #264 from kedder/pkg-resources-ns
kedder Jan 21, 2024
1e2abea
Bump pytest from 7.4.4 to 8.0.0
dependabot[bot] Feb 3, 2024
214bb9c
Use union instead of pipe for older python versions
jaik03 Feb 4, 2024
d506798
Ignore type checking due to ambiguous declaration
jaik03 Feb 4, 2024
8dc6085
Fix formatting via black
jaik03 Feb 4, 2024
0942bbd
Merge pull request #266 from kedder/dependabot/pip/pytest-8.0.0
kedder Feb 10, 2024
c581777
Bump pytest from 8.0.0 to 8.0.1
dependabot[bot] Feb 17, 2024
f8b4275
Merge pull request #269 from kedder/dependabot/pip/pytest-8.0.1
kedder Feb 22, 2024
ac317a7
Switch metadata to pyproject.toml
kedder Feb 22, 2024
a852d23
Install type hints for appdirs
kedder Feb 22, 2024
777f662
Reformat with newer black
kedder Feb 22, 2024
338a9f6
Drop support for 3.8, add 3.12
kedder Feb 22, 2024
280bc40
Install zipp for older pythons
kedder Feb 22, 2024
54db7c4
Merge pull request #270 from kedder/pyproject
kedder Feb 24, 2024
8f8008d
Don't add a blank security to the list
edwagner Feb 18, 2024
1944606
Decrease precision of total to 2 decimal places
edwagner Feb 18, 2024
05e2699
Add cap gain income types
edwagner Feb 18, 2024
86560e7
Bump zipp from 3.8 to 3.17.0
dependabot[bot] Mar 2, 2024
cfd9002
Bump pytest from 8.0.1 to 8.0.2
dependabot[bot] Mar 2, 2024
78cba7e
Handle INVBANKTRAN
edwagner Mar 4, 2024
8c1112c
Handle TRANSFER type
edwagner Mar 4, 2024
15f8c23
Merge pull request #273 from edwagner/invest-statement-enhancements
kedder Mar 5, 2024
c659d45
Fix plugin loading
edwagner Mar 6, 2024
273ca39
Merge pull request #274 from edwagner/fix-plugin-loading
kedder Mar 6, 2024
f7e5b1f
Bump mypy from 1.8.0 to 1.9.0
dependabot[bot] Mar 9, 2024
fd8f502
Bump black from 24.2.0 to 24.3.0
dependabot[bot] Mar 16, 2024
5de9b51
Bump zipp from 3.17.0 to 3.18.1
dependabot[bot] Mar 16, 2024
f0dd25c
Bump pytest from 8.0.2 to 8.1.1
dependabot[bot] Mar 16, 2024
4e4e716
Bump types-mock from 5.1.0.20240106 to 5.1.0.20240311
dependabot[bot] Mar 16, 2024
44a0c18
break out parse_invest_record that returns an InvestStatementLine object
jaik03 Mar 30, 2024
6d93bcf
Add InvestStatmentLine as possible reutrn to fix typing check errors.
jaik03 Jan 14, 2024
0be6f56
Use union instead of pipe for older python versions
jaik03 Feb 4, 2024
651fce2
Ignore type checking due to ambiguous declaration
jaik03 Feb 4, 2024
0bdfa59
Fix formatting via black
jaik03 Feb 4, 2024
831f6e9
break out parse_invest_record that returns an InvestStatementLine object
jaik03 Mar 30, 2024
cb9f7d9
Merge branch 'AddInvestStatementLineType' of ssh://kvmhost.home.arpa/…
jaik03 Mar 31, 2024
6a6cf3d
fix this back to original structure
jaik03 Mar 31, 2024
3b6e19c
add parse_invest_record line
jaik03 Mar 31, 2024
9688f8f
black run
jaik03 Mar 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ignore type checking due to ambiguous declaration
  • Loading branch information
jaik03 committed Feb 4, 2024
commit d506798b18bca7626f1c3f21b63b9e674b2b8c46
2 changes: 1 addition & 1 deletion src/ofxstatement/parser.py
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ def parse(self) -> Statement:
stmt_line = self.parse_record(line)
if stmt_line:
stmt_line.assert_valid()
self.statement.lines.append(stmt_line)
self.statement.lines.append(stmt_line) # type: ignore
return self.statement

def split_records(self) -> Iterable[LT]: # pragma: no cover
Loading