Skip to content

Commit

Permalink
fix : utils.line function removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Oct 19, 2024
1 parent d293efc commit 90679af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
6 changes: 3 additions & 3 deletions art/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import random

from .utils import distance_calc, indirect_font, indirect_decoration, line
from .utils import distance_calc, indirect_font, indirect_decoration
from .params import art_dic, standard_dic
from .params import fancy1_dic
from .params import DEFAULT_FONT, MIX_FILTERED_FONTS
Expand Down Expand Up @@ -483,7 +483,7 @@ def decor_list(text="test", font="fancy6"):
for decor in DECORATION_NAMES:
print(decor)
tprint(text, font=font, decoration=decor)
line()
lprint(length=30, char="*")


def font_list(text="test", mode="all"):
Expand Down Expand Up @@ -523,7 +523,7 @@ def art_list(mode="all"):
for i in sorted(arts):
print(i)
aprint(i)
line()
lprint(length=30, char="*")


def mix_letters():
Expand Down
12 changes: 0 additions & 12 deletions art/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,4 @@ def font_size_splitter(font_map):
"xlarge_list": xlarge_font}


def line(char="*", number=30):
"""
Print line of chars.
:param char: input character
:type char:str
:param number: number of characters
:return: None
"""
print(char * number)


RND_SIZE_DICT = font_size_splitter(FONT_MAP) # pragma: no cover

0 comments on commit 90679af

Please sign in to comment.