From 0daa0cc0ec3318db07f946779e0f7c6269efe00b Mon Sep 17 00:00:00 2001 From: MadeInPierre Date: Mon, 15 Jan 2024 17:53:13 +0100 Subject: [PATCH] ci: manual bump to v1.23.0 --- docs/conf.py | 2 +- examples/full_example.py | 34 ++++++++++++++++++++++------------ finalynx/__meta__.py | 2 +- pyproject.toml | 4 ++-- 4 files changed, 26 insertions(+), 16 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 23cc2c2..5247322 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = "Pierre Laclau" # The full version, including alpha/beta/rc tags -release = "1.22.4" +release = "1.23.0" # -- General configuration --------------------------------------------------- diff --git a/examples/full_example.py b/examples/full_example.py index cce8abf..61f5f63 100755 --- a/examples/full_example.py +++ b/examples/full_example.py @@ -46,19 +46,16 @@ (Optional) Custom shortcuts in variables used below to control the config quickly. """ short_display = FolderDisplay.EXPANDED # Display style for all short-term folders - medium_term_amount = ( - 20000 # Amount of money to keep for medium-term (i.e. Livrets in this config) - ) + medium_term_amount = 20000 # Amount of money to keep for medium-term (i.e. Livrets in this config) date_retirement = date(2063, 7, 1) # Define envelopes used in the portfolio bank_lbp = Envelope("La Banque Postale", "LBP") bank_n26 = Envelope("N26", "N26") bank_boursorama = Envelope("BoursoBank", "BOU") + bank_revolut = Envelope("Revolut", "REV") - pea = PEA( - "Bourse Direct", "PEA", date(2022, 7, 1), key="MR LACLAU PIERRE (Compte PEA)" - ) + pea = PEA("Bourse Direct", "PEA", date(2022, 7, 1), key="MR LACLAU PIERRE (Compte PEA)") pee = PEE( "Natixis", "PEE", @@ -72,9 +69,9 @@ av_ramify = AV("Ramify", "RAM", date(2022, 7, 1), key="Ramify AV") per_linxea = PER("Linxea Spirit PER", "PER", date(2022, 7, 1), date_retirement) - per_prefon = PER( - "Prefon", "PRF", date(2022, 7, 1), date_retirement, key="Autres actifs" - ) + per_prefon = PER("Prefon", "PRF", date(2022, 7, 1), date_retirement, key="Autres actifs") + + cto_tr = Envelope("Trade Republic", "TRP", key="Trade Republic Portfolio") at_home = Envelope("At Home", "PHY", key="Metaux precieux") @@ -152,6 +149,14 @@ target=TargetRange(100, 500, tolerance=100), envelope=bank_n26, ), + Line( + "Revolut", + AssetClass.CASH, + AssetSubclass.CCP, + key="Revolut Current EUR", + target=TargetRange(100, 500, tolerance=100), + envelope=bank_revolut, + ), ], ), Folder( @@ -508,6 +513,13 @@ key="8804143", envelope=av_linxea, target=TargetMax(0), + ), + Line( + "Livret Trade Republic", + AssetClass.GUARANTEED, + AssetSubclass.LIVRET_TAXED, + key="13666160", + envelope=cto_tr, newline=True, ), ], @@ -549,9 +561,7 @@ ], simulation=Simulation( events=[ - Salary( - livreta, income=2300, expenses=1400, end_date=date(2024, 11, 30) - ), + Salary(livreta, income=2300, expenses=1400, end_date=date(2024, 11, 30)), Event( AddLineAmount(livreta, 3500), planned_date=date(2024, 4, 10), diff --git a/finalynx/__meta__.py b/finalynx/__meta__.py index 3a76528..582c6ba 100644 --- a/finalynx/__meta__.py +++ b/finalynx/__meta__.py @@ -6,7 +6,7 @@ Metadata information about Finalynx. This file is used by Fynalinx and updated by the CI/CD pipeline. """ -__version__ = "1.22.4" +__version__ = "1.23.0" __author__ = "Pierre Laclau (MadeInPierre)" diff --git a/pyproject.toml b/pyproject.toml index e72f1dc..e008d9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "finalynx" -version = "1.22.4" +version = "1.23.0" description = "A command line investment assistant to organize your portfolio and simulate its future to reach your life goals." authors = ["MadeInPierre "] license = "GPLv3" @@ -56,7 +56,7 @@ build_command = "pip install poetry && poetry build" [tool.commitizen] name = "cz_conventional_commits" -version = "1.22.4" +version = "1.23.0" tag_format = "v$version" [tool.mypy]