Skip to content

Commit

Permalink
style: add module name
Browse files Browse the repository at this point in the history
style: print empty string when the author is missing

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed May 19, 2023
1 parent 1d1ed72 commit 304b96c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flexmeasures/cli/data_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,14 @@ def list_reporters():
tabulate(
[
(
reporter_class.__module__,
reporter_name,
reporter_class.__version__,
str(reporter_class.__author__),
reporter_class.__author__,
)
for reporter_name, reporter_class in app.reporters.items()
],
headers=["name", "version", "author"],
headers=["module", "name", "version", "author"],
)
)

Expand Down

0 comments on commit 304b96c

Please sign in to comment.