Skip to content

Commit 2a2484e

Browse files
committed
Clean up line spacing in foods.py in accordance with pep8
1 parent 5844e14 commit 2a2484e

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

plugins/foods.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import asyncio
12
import codecs
23
import json
34
import os
4-
import asyncio
55
import re
66

77
from cloudbot import hook
@@ -136,12 +136,14 @@ def sandwich(text, action):
136136
"""<user> - give a tasty sandwich to <user>"""
137137
action(basic_format(text, sandwich_data, "a sandwich"))
138138

139+
139140
@asyncio.coroutine
140141
@hook.command
141142
def taco(text, action):
142143
"""<user> - give a taco to <user>"""
143144
action(basic_format(text, taco_data, "a taco"))
144145

146+
145147
@asyncio.coroutine
146148
@hook.command
147149
def coffee(text, action):
@@ -162,126 +164,147 @@ def muffin(text, action):
162164
"""<user> - give muffin to <user>"""
163165
action(basic_format(text, muffin_data, "a muffin"))
164166

167+
165168
@asyncio.coroutine
166169
@hook.command
167170
def scone(text, action):
168171
"""<user> - give scone to <user>"""
169172
action(basic_format(text, scone_data, "a scone"))
170173

174+
171175
@asyncio.coroutine
172176
@hook.command
173177
def rice(text, action):
174178
"""<user> - give rice to <user>"""
175179
action(basic_format(text, rice_data, "rice"))
176180

181+
177182
@asyncio.coroutine
178183
@hook.command
179184
def tea(text, action):
180185
"""<user> - give tea to <user>"""
181186
action(basic_format(text, tea_data, "tea"))
182187

188+
183189
@asyncio.coroutine
184190
@hook.command
185191
def keto(text, action):
186192
"""<user> - give keto food to <user>"""
187193
action(basic_format(text, keto_data, "food"))
188194

195+
189196
@asyncio.coroutine
190197
@hook.command
191198
def beer(text, action):
192199
"""<user> - give beer to <user>"""
193200
action(basic_format(text, beer_data, "beer"))
194201

202+
195203
@asyncio.coroutine
196204
@hook.command
197205
def cheese(text, action):
198206
"""<user> - give cheese to <user>"""
199207
action(basic_format(text, cheese_data, "cheese"))
200208

209+
201210
@asyncio.coroutine
202211
@hook.command
203212
def pancake(text, action):
204213
"""<user> - give pancakes to <user>"""
205214
action(basic_format(text, pancake_data, "pancakes"))
206215

216+
207217
@asyncio.coroutine
208218
@hook.command
209219
def chicken(text, action):
210220
"""<user> - give chicken to <user>"""
211221
action(basic_format(text, chicken_data, "chicken"))
212222

223+
213224
@asyncio.coroutine
214225
@hook.command
215226
def nugget(text, action):
216227
"""<user> - give nuggets to <user>"""
217228
action(basic_format(text, nugget_data, "nuggets"))
218229

230+
219231
@asyncio.coroutine
220232
@hook.command
221233
def pie(text, action):
222234
"""<user> - give pie to <user>"""
223235
action(basic_format(text, pie_data, "pie"))
224236

237+
225238
@asyncio.coroutine
226239
@hook.command
227240
def icecream(text, action):
228241
"""<user> - give icecream to <user>"""
229242
action(basic_format(text, icecream_data, "icecream"))
230243

244+
231245
@asyncio.coroutine
232246
@hook.command("brekky", "brekkie")
233247
def brekkie(text, action):
234248
"""<user> - give brekkie to <user>"""
235249
action(basic_format(text, brekkie_data, "brekkie"))
236250

251+
237252
@asyncio.coroutine
238253
@hook.command("doobie")
239254
def doobie(text, action):
240255
"""<user> - pass the doobie to <user>"""
241256
action(basic_format(text, doobie_data, "a doobie"))
242257

258+
243259
@asyncio.coroutine
244260
@hook.command("pizza")
245261
def pizza(text, action):
246262
"""<user> - give pizza to <user>"""
247263
action(basic_format(text, pizza_data, "pizza"))
248264

265+
249266
@asyncio.coroutine
250267
@hook.command("chocolate")
251268
def chocolate(text, action):
252269
"""<user> - give chocolate to <user>"""
253270
action(basic_format(text, chocolate_data, "chocolate"))
254271

272+
255273
@asyncio.coroutine
256274
@hook.command
257275
def pasta(text, action):
258276
"""<user> - give pasta to <user>"""
259277
action(basic_format(text, pasta_data, "pasta"))
260278

279+
261280
@asyncio.coroutine
262281
@hook.command
263282
def cereal(text, action):
264283
"""<user> - give cereal to <user>"""
265284
action(basic_format(text, cereal_data, "cereal"))
266285

286+
267287
@asyncio.coroutine
268288
@hook.command
269289
def sushi(text, action):
270290
"""<user> - give sushi to <user>"""
271291
action(basic_format(text, sushi_data, "sushi"))
272292

293+
273294
@asyncio.coroutine
274295
@hook.command
275296
def steak(text, action):
276297
"""<user> - give a steak dinner to <user>"""
277298
action(basic_format(text, steak_data, "a nice steak dinner"))
278299

300+
279301
@asyncio.coroutine
280302
@hook.command
281303
def milkshake(text, action):
282304
"""<user> - give a milkshake to <user>"""
283305
action(basic_format(text, milkshake_data, "a milkshake"))
284306

307+
285308
@asyncio.coroutine
286309
@hook.command
287310
def kebab(text, action):

0 commit comments

Comments
 (0)