Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up todo/lingrbot.py #30

Open
bgnori opened this issue Jul 6, 2013 · 0 comments
Open

clean up todo/lingrbot.py #30

bgnori opened this issue Jul 6, 2013 · 0 comments
Milestone

Comments

@bgnori
Copy link
Contributor

bgnori commented Jul 6, 2013

53:1: 'Postman.deliver' has cc of 2, looks ok
279:1: 'ToDoBot.handle_edit' has cc of 5, looks ok
228:1: 'ToDoBot.handle_listof_done' has cc of 3, looks ok
66:1: 'Lingrman.post' has cc of 2, looks ok
84:1: 'ToDoBot.on_json' has cc of 8, too complex!
122:1: 'ToDoBot.find_method' has cc of 4, looks ok
239:1: 'ToDoBot.handle_list_everything' has cc of 3, looks ok
129:1: 'ToDoBot.is_admin' has cc of 2, looks ok
341:1: 'ToDoBot.handle_debug' has cc of 4, looks ok
26:1: 'Spool.init' has cc of 2, looks ok
154:1: 'ToDoBot.handle_add' has cc of 2, looks ok
313:1: 'ToDoBot.handle_show' has cc of 4, looks ok
31:1: 'Spool.add' has cc of 2, looks ok
132:1: 'ToDoBot.get_handle_XXX' has cc of 5, looks ok
190:1: 'ToDoBot.handle_list' has cc of 7, too complex!
218:1: 'ToDoBot.handle_listof_all' has cc of 4, looks ok
350:1: 'ToDoBot.handle_about' has cc of 2, looks ok
57:1: 'Lingrman.init' has cc of 2, looks ok
118:1: 'ToDoBot.strip' has cc of 2, looks ok
246:1: 'ToDoBot.handle_moveto' has cc of 4, looks ok
141:1: 'ToDoBot.make_handler_name' has cc of 2, looks ok
34:1: 'Spool.write' has cc of 2, looks ok
160:1: 'ToDoBot.handle_addto' has cc of 3, looks ok
81:1: 'ToDoBot.init' has cc of 2, looks ok
37:1: 'Spool.render_for_lingr' has cc of 5, looks ok
61:1: 'Lingrman.deliver' has cc of 3, looks ok
235:1: 'ToDoBot.handle_listof' has cc of 2, looks ok
261:1: 'ToDoBot.handle_done' has cc of 6, too complex!
325:1: 'ToDoBot.handle_sudodel' has cc of 5, looks ok
138:1: 'ToDoBot.make_help_map' has cc of 2, looks ok
144:1: 'ToDoBot.handle_help' has cc of 3, looks ok
183:1: 'ToDoBot.handle_list_done' has cc of 3, looks ok
296:1: 'ToDoBot.handle_del' has cc of 6, too complex!
176:1: 'ToDoBot.handle_list_all' has cc of 3, looks ok
/home/nori/Desktop/work/todobot/todo/lingrbot.py:10:22: E401 multiple imports on one line
/home/nori/Desktop/work/todobot/todo/lingrbot.py:11:22: E401 multiple imports on one line
/home/nori/Desktop/work/todobot/todo/lingrbot.py:19:36: W291 trailing whitespace
/home/nori/Desktop/work/todobot/todo/lingrbot.py:23:1: E303 too many blank lines (3)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:24:25: E261 at least two spaces before inline comment
/home/nori/Desktop/work/todobot/todo/lingrbot.py:24:26: E262 inline comment should start with '# '
/home/nori/Desktop/work/todobot/todo/lingrbot.py:56:1: E302 expected 2 blank lines, found 1
/home/nori/Desktop/work/todobot/todo/lingrbot.py:70:22: E231 missing whitespace after ':'
/home/nori/Desktop/work/todobot/todo/lingrbot.py:70:34: E231 missing whitespace after ':'
/home/nori/Desktop/work/todobot/todo/lingrbot.py:70:54: E231 missing whitespace after ':'
/home/nori/Desktop/work/todobot/todo/lingrbot.py:70:75: E231 missing whitespace after ':'
/home/nori/Desktop/work/todobot/todo/lingrbot.py:70:80: E501 line too long (89 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:120:13: E128 continuation line under-indented for visual indent
/home/nori/Desktop/work/todobot/todo/lingrbot.py:124:12: E111 indentation is not a multiple of four
/home/nori/Desktop/work/todobot/todo/lingrbot.py:124:33: W291 trailing whitespace
/home/nori/Desktop/work/todobot/todo/lingrbot.py:125:12: E111 indentation is not a multiple of four
/home/nori/Desktop/work/todobot/todo/lingrbot.py:126:15: E111 indentation is not a multiple of four
/home/nori/Desktop/work/todobot/todo/lingrbot.py:139:80: E501 line too long (106 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:145:80: E501 line too long (81 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:156:80: E501 line too long (97 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:167:46: E261 at least two spaces before inline comment
/home/nori/Desktop/work/todobot/todo/lingrbot.py:167:47: E262 inline comment should start with '# '
/home/nori/Desktop/work/todobot/todo/lingrbot.py:169:80: E501 line too long (89 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:172:80: E501 line too long (86 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:209:17: E125 continuation line does not distinguish itself from next logical line
/home/nori/Desktop/work/todobot/todo/lingrbot.py:213:17: E125 continuation line does not distinguish itself from next logical line
/home/nori/Desktop/work/todobot/todo/lingrbot.py:235:80: E501 line too long (86 > 79 characters)
/home/nori/Desktop/work/todobot/todo/lingrbot.py:333:39: E261 at least two spaces before inline comment
/home/nori/Desktop/work/todobot/todo/lingrbot.py:333:40: E262 inline comment should start with '# '
/home/nori/Desktop/work/todobot/todo/lingrbot.py:358:1: W391 blank line at end of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant