Having a comprehension unit testing allows for peace of mind refactoring. Changed the PSD2Client constructor and extract method to accept credentials and banks, respectively. Create Exception tree for the Extract module. Adds mocks to the NordigenClient requests' methods.
35 lines
807 B
TOML
35 lines
807 B
TOML
[tool.poetry]
|
|
name = "pf-budget"
|
|
version = "0.2.0"
|
|
description = "This is an application for budgeting nerds who need control and want to account for every aspect of their financials lifes."
|
|
authors = ["Luís Murta <luis@murta.dev>"]
|
|
license = "GPL-3.0-or-later"
|
|
readme = "README.md"
|
|
packages = [{include = "pfbudget"}]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
codetiming = "^1.4.0"
|
|
matplotlib = "^3.7.1"
|
|
nordigen = "^1.3.1"
|
|
psycopg2 = "^2.9.6"
|
|
python-dateutil = "^2.8.2"
|
|
python-dotenv = "^1.0.0"
|
|
pyyaml = "^6.0"
|
|
sqlalchemy = "^2.0.9"
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
black = "^23.3.0"
|
|
flake8 = "^6.0.0"
|
|
pytest = "^7.3.0"
|
|
pytest-cov = "^4.0.0"
|
|
pytest-mock = "^3.10.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[pytest]
|
|
mock_use_standalone_module = true
|