Skip to content

Commit

Permalink
correct pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mael-J committed Feb 3, 2024
1 parent 38298f2 commit 93a5dcc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mstarpy/funds.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 93a5dcc

Please sign in to comment.