Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Apr 19, 2024
1 parent 622001b commit c6f7276
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion anemoi/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# nor does it submit to any jurisdiction.


__version__ = "0.1.2"
__version__ = "0.1.3"
11 changes: 7 additions & 4 deletions anemoi/utils/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@
# https://en.wikipedia.org/wiki/Box-drawing_character


def dotted_line(n=84, file=sys.stdout):
def dotted_line(n=84) -> str:
"""_summary_
Parameters
----------
n : int, optional
_description_, by default 84
file : _type_, optional
_description_, by default sys.stdout
Returns
-------
str
_description_
"""
print("┈" * n, file=file)
return "┈" * n


def boxed(text, min_width=80, max_width=80) -> str:
Expand Down

0 comments on commit c6f7276

Please sign in to comment.