Add test helper
Ignore all toml
Support SMBC Card
Create config.toml
with contents, while making sure that in_dir
and
out_dir
do not point to the same or overlapping path.
in_dir = "IN_DIR"
out_dir = "OUT_DIR"
Put the files in the in folder so that you will have the following tree:
test/data/in
├── dkb_cc_von_bis_v1
│ └── 2022-10-06
│ └── transactions.csv
├── dkb_cc_zeitraum_v1
│ └── 2022-10-09
│ └── transaction.csv
├── dkb_giro_v1
│ └── 2022-10-06
│ └── transactions.csv
├── rakuten_v1
│ └── 2022-10-06
│ └── transactions.csv
├── shinsei_v1
│ └── 2022-10-06
│ └── transactions.csv
├── shinsei_v1_en
│ └── 2022-10-10
│ └── transactions.csv
├── shinsei_v2
│ └── 2022-10-06
│ └── transactions.csv
├── shinsei_v2_en
│ └── 2022-10-10
│ └── transactions.csv
├── shinsei_v3
│ └── 2022-10-06
│ └── transactions.csv
├── smbc_v1
│ └── 2022-10-06
│ └── transactions.csv
└── smbc_v2
└── 2022-10-06
└── transactions.csv
22 directories, 11 files
Regenerate this by running
tree test/data/in | pbcopy # in macOS
Then run
pipenv run ./convert-statement.py
The output can be found in the out folder.
The columns are
pipenv run python -m pytest
pipenv run bin/test.py
pipenv run flake8 .
pipenv run mypy