Skip to content

Commit

Permalink
Use an f string
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 10, 2024
1 parent 59467fb commit 39cd533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goodconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def generate_markdown(cls) -> str:
for k, v in cls.__fields__.items():
lines.append(f"* **{k}**")
if v.required:
lines[-1] = lines[-1] + " _REQUIRED_"
lines[-1] = f"{lines[-1]} _REQUIRED_"
if v.field_info.description:
lines.append(f" * description: {v.field_info.description}")
lines.append(f" * type: `{type_to_str(v.outer_type_)}`")
Expand Down

0 comments on commit 39cd533

Please sign in to comment.