File tree Expand file tree Collapse file tree 6 files changed +30
-28
lines changed
Expand file tree Collapse file tree 6 files changed +30
-28
lines changed Original file line number Diff line number Diff line change 1+ [flake8]
2+ max-line-length = 125
Original file line number Diff line number Diff line change 33
44
55if __name__ == "__main__" :
6- cli ()
6+ cli ()
Original file line number Diff line number Diff line change 11
22CHARS = {
33
4- "beavis" : r'''
4+ "beavis" : r'''
55 \
66 \
77 \
2626
2727''' ,
2828
29- "cheese" : r'''
29+ "cheese" : r'''
3030\
3131 \
3232 \
4848 /___\ /___\
4949''' ,
5050
51- "daemon" : r'''
51+ "daemon" : r'''
5252 \
5353 \
5454 \
7171 `--{__________) \/
7272''' ,
7373
74- "cow" : r'''
74+ "cow" : r'''
7575\
7676 \
7777 ^__^
8181 || ||
8282''' ,
8383
84- "dragon" : r'''
84+ "dragon" : r'''
8585 \
8686 \
8787 \
104104 /.-~
105105''' ,
106106
107- "fox" : r'''
107+ "fox" : r'''
108108 \
109109 \
110110 \
114114 _// _// ~}
115115''' ,
116116
117- "ghostbusters" : r'''
117+ "ghostbusters" : r'''
118118 \
119119 \
120120 \
141141''' ,
142142
143143
144- "kitty" : r'''
144+ "kitty" : r'''
145145 \
146146 \
147147 \
155155''' ,
156156
157157
158- "meow" : r"""
158+ "meow" : r"""
159159\
160160 \
161161 \
171171 (((__/(((_.' ((___..-'((__,'
172172""" ,
173173
174- "miki" : r'''
175- \
174+ "miki" : r'''
175+ \
176176 \ &************************&
177177 \ &******************************&
178178 \ &**********************************&
179179 &**************************************&
180180 &*****************************************&
181- &*******************************************&
181+ &*******************************************&
182182 &*********************************************&
183183 &***********************************************&
184184 &************************************************&
190190 &**********@*********************************&
191191 &*********@*********************************&
192192 &********@@*********************************&
193- &*******@@@@@@****************************&
193+ &*******@@@@@@****************************&
194194 &**************************************&
195195 &**************************************&
196196 &******@@@@@@@@@@@@*********************&
197- &*************************************&
197+ &*************************************&
198198 &************************************&
199199 &*******************************&
200200 &*****************************&
201201''' ,
202202
203- "milk" : r'''
203+ "milk" : r'''
204204\
205205 \
206206 \
223223 <__/ \__>
224224''' ,
225225
226- "pig" : r'''
226+ "pig" : r'''
227227\
228228 \
229229 \
240240 /_]' /_]'
241241''' ,
242242
243- "stegosaurus" : r'''
243+ "stegosaurus" : r'''
244244 \
245245 \
246246 \
262262
263263''' ,
264264
265- "stimpy" : r'''
265+ "stimpy" : r'''
266266 \
267267 \
268268 \
283283 (____(____)
284284''' ,
285285
286- "trex" : r'''
286+ "trex" : r'''
287287 \
288288 \
289289 \
319319 /" "|
320320''' ,
321321
322- "turkey" : r'''
322+ "turkey" : r'''
323323 \
324324 \
325325 \
347347 ^^^ ^^ ^^^ ^
348348''' ,
349349
350- "turtle" : r'''
350+ "turtle" : r'''
351351 \
352352 \
353353 \
369369 (_(___/ \_____)_)
370370''' ,
371371
372- "tux" : r'''
372+ "tux" : r'''
373373 \
374374 \
375375 \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def generate_bubble(text):
3131 output .append ("| " + line + " " * (text_width - len (line ) + 1 ) + "|" )
3232 if len (lines ) > 1 :
3333 output .append (" \\ " + " " * text_width + "/" )
34- output .append (" " + "=" * text_width )
34+ output .append (" " + "=" * text_width )
3535 return output
3636
3737
@@ -68,7 +68,7 @@ def func(text, char_lines=char_lines):
6868 func .__name__ = char_name
6969 globals ()[char_name ] = func
7070 chars [char_name ] = func
71-
71+
7272
7373def get_output_string (char_name , text ):
7474 if char_name in CHARS :
Original file line number Diff line number Diff line change 569569 &*************************************&
570570 &************************************&
571571 &*******************************&
572- &*****************************&
572+ &*****************************&
573573"""
574574
575575
@@ -649,7 +649,7 @@ def test_meow(self):
649649 output = delete_empty_lines (output )
650650 solution = delete_empty_lines (MEOW_SOLUTION )
651651 assert output == solution
652-
652+
653653 def test_miki (self ):
654654 output = capture_output (miki , (LOREM ))
655655 output = delete_empty_lines (output )
Original file line number Diff line number Diff line change 2121 long_description_content_type = 'text/markdown' ,
2222 zip_safe = False ,
2323 classifiers = CLASSIFIERS ,
24- )
24+ )
You can’t perform that action at this time.
0 commit comments