From 93a5dccec41370005931e33a0b3eac70b51b6d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl?= Date: Sat, 3 Feb 2024 20:09:52 +0100 Subject: [PATCH] correct pylint --- mstarpy/funds.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mstarpy/funds.py b/mstarpy/funds.py index fa7b992..16fb08e 100644 --- a/mstarpy/funds.py +++ b/mstarpy/funds.py @@ -989,7 +989,8 @@ def multiLevelFixedIncomeData( if secondary not in secondary_choice: raise ValueError( - f'secondary parameter can only take one of the values: {", ".join(secondary_choice)}' + f"""secondary parameter can only take one of the values + : {", ".join(secondary_choice)}""" ) if primary == "creditQuality" and secondary == "creditQuality.weight": @@ -1211,7 +1212,8 @@ def referenceIndex(self, index): index_row = {"benchmark": 0, "category": 1} if index not in index_row: raise ValueError( - f"index parameter must take one of the following value : { ', '.join(index_row.keys())}" + f"""index parameter must take one of the following value + : { ', '.join(index_row.keys())}""" ) # headers random agent