Skip to content

Commit

Permalink
small code style change
Browse files Browse the repository at this point in the history
  • Loading branch information
glorpen committed Apr 28, 2022
1 parent 1e3f17e commit 27b2277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/glorpen/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def __init__(self, items: ValueErrorItems):
def _format_row(self, items: ValueErrorItems):
return textwrap.indent("\n".join(self._format_items(items)), "")

def _format_items(self, items: ValueErrorItems):
@classmethod
def _format_items(cls, items: ValueErrorItems):
if hasattr(items, "keys"):
key_max_len = max(len(str(i)) for i in items.keys())
item_sets = items.items()
Expand Down

0 comments on commit 27b2277

Please sign in to comment.