WebSearch: collection tree score as in next.

* Updates how the `score` value from `collection_collection` is used
  adopting next way, the lower the score the higher the position.

* Provides an upgrade recipe to update the `collection_collection`
  relationships. It changes the score setting its value from 0 to the
  number of "son collections".

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
38:6: E126 continuation line over-indented for hanging indent
50:6: E126 continuation line over-indented for hanging indent
59:6: E126 continuation line over-indented for hanging indent
62:6: E126 continuation line over-indented for hanging indent
68:6: E126 continuation line over-indented for hanging indent
82:1: E302 expected 2 blank lines, found 1
82:25: E251 unexpected spaces around keyword / parameter equals
82:27: E251 unexpected spaces around keyword / parameter equals
82: D202 No blank lines allowed *after* function docstring, found 1
82: D400 First line should end with '.', not 'l'
89:1: E302 expected 2 blank lines, found 1
89: D200 One-line docstring should not occupy 3 lines
97:1: E302 expected 2 blank lines, found 1
97: D209 Put multi-line docstring closing quotes on separate line
97: D400 First line should end with '.', not 'n'
97: D205 Blank line missing between one-line summary and description
116:26: W601 .has_key() is deprecated, use 'in'
129:17: E221 multiple spaces before operator
154:39: F841 local variable 'e' is assigned to but never used
180:1: E302 expected 2 blank lines, found 1
180: D209 Put multi-line docstring closing quotes on separate line
180: D202 No blank lines allowed *after* function docstring, found 1
180: D400 First line should end with '.', not 'n'
180: D205 Blank line missing between one-line summary and description
189:5: F841 local variable 'rnk_dict' is assigned to but never used
190:26: W601 .has_key() is deprecated, use 'in'
198:15: E221 multiple spaces before operator
216:56: W601 .has_key() is deprecated, use 'in'
218:17: E221 multiple spaces before operator
224:172: E203 whitespace before ','
241:17: E221 multiple spaces before operator
248:172: E203 whitespace before ','
270:1: E302 expected 2 blank lines, found 1
270: D209 Put multi-line docstring closing quotes on separate line
270: D202 No blank lines allowed *after* function docstring, found 1
270: D205 Blank line missing between one-line summary and description
300:49: E225 missing whitespace around operator
305:5: F841 local variable 'tree' is assigned to but never used
317:75: E225 missing whitespace around operator
327:27: E225 missing whitespace around operator
338:18: E225 missing whitespace around operator
338:64: E225 missing whitespace around operator
355:1: E302 expected 2 blank lines, found 1
355: D209 Put multi-line docstring closing quotes on separate line
355: D202 No blank lines allowed *after* function docstring, found 1
355: D205 Blank line missing between one-line summary and description
387:1: E302 expected 2 blank lines, found 1
387: D209 Put multi-line docstring closing quotes on separate line
387: D202 No blank lines allowed *after* function docstring, found 1
387: D205 Blank line missing between one-line summary and description
392:11: E221 multiple spaces before operator
395:26: W601 .has_key() is deprecated, use 'in'
406:9: F841 local variable 'vir_sons' is assigned to but never used
443:1: E302 expected 2 blank lines, found 1
443: D209 Put multi-line docstring closing quotes on separate line
443: D202 No blank lines allowed *after* function docstring, found 1
443: D205 Blank line missing between one-line summary and description
458:5: F841 local variable 'fin_output' is assigned to but never used
467:30: E225 missing whitespace around operator
470:30: E225 missing whitespace around operator
476:30: E225 missing whitespace around operator
479:91: E231 missing whitespace after ','
479:30: E225 missing whitespace around operator
485:44: E225 missing whitespace around operator
485:112: E225 missing whitespace around operator
488:34: E225 missing whitespace around operator
507:48: E225 missing whitespace around operator
510:38: E225 missing whitespace around operator
520:36: E225 missing whitespace around operator
538:94: E225 missing whitespace around operator
543:55: E225 missing whitespace around operator
543:151: E225 missing whitespace around operator
564:44: E225 missing whitespace around operator
564:131: E225 missing whitespace around operator
567:44: E225 missing whitespace around operator
567:131: E225 missing whitespace around operator
573:27: F841 local variable 'e' is assigned to but never used
604:1: E302 expected 2 blank lines, found 1
604: D202 No blank lines allowed *after* function docstring, found 1
604: D400 First line should end with '.', not 'y'
631:1: E302 expected 2 blank lines, found 1
631: D209 Put multi-line docstring closing quotes on separate line
631: D202 No blank lines allowed *after* function docstring, found 1
631: D400 First line should end with '.', not 'x'
631: D205 Blank line missing between one-line summary and description
636:5: F841 local variable 'col_dict' is assigned to but never used
658:15: E221 multiple spaces before operator
665:1: E302 expected 2 blank lines, found 1
665: D209 Put multi-line docstring closing quotes on separate line
665: D202 No blank lines allowed *after* function docstring, found 1
665: D205 Blank line missing between one-line summary and description
674:11: E221 multiple spaces before operator
680:5: F841 local variable 'col_dict' is assigned to but never used
681:5: F841 local variable 'pbx_dict' is assigned to but never used
686:13: E221 multiple spaces before operator
693:22: E126 continuation line over-indented for hanging indent
693:29: E221 multiple spaces before operator
713:72: E225 missing whitespace around operator
722:15: E221 multiple spaces before operator
730:15: E221 multiple spaces before operator
738:1: E302 expected 2 blank lines, found 1
738: D209 Put multi-line docstring closing quotes on separate line
738: D202 No blank lines allowed *after* function docstring, found 1
738: D205 Blank line missing between one-line summary and description
744:11: E221 multiple spaces before operator
750:20: W601 .has_key() is deprecated, use 'in'
751:13: F841 local variable 'pname' is assigned to but never used
757:5: F841 local variable 'col_dict' is assigned to but never used
763:13: E221 multiple spaces before operator
769:27: W601 .has_key() is deprecated, use 'in'
770:73: E221 multiple spaces before operator
786:15: E221 multiple spaces before operator
794:1: E302 expected 2 blank lines, found 1
794: D209 Put multi-line docstring closing quotes on separate line
794: D202 No blank lines allowed *after* function docstring, found 1
794: D205 Blank line missing between one-line summary and description
801:13: E221 multiple spaces before operator
802:11: E221 multiple spaces before operator
807:5: F841 local variable 'lang' is assigned to but never used
808:5: F841 local variable 'col_dict' is assigned to but never used
830:63: E225 missing whitespace around operator
879:15: E221 multiple spaces before operator
886:1: E302 expected 2 blank lines, found 1
886: D209 Put multi-line docstring closing quotes on separate line
886: D205 Blank line missing between one-line summary and description
893:5: F841 local variable 'pbx_dict' is assigned to but never used
898:1: E302 expected 2 blank lines, found 1
898: D209 Put multi-line docstring closing quotes on separate line
898: D202 No blank lines allowed *after* function docstring, found 1
898: D205 Blank line missing between one-line summary and description
906:11: E221 multiple spaces before operator
909:434: E221 multiple spaces before operator
942:46: E225 missing whitespace around operator
942:85: E225 missing whitespace around operator
960:1: E302 expected 2 blank lines, found 1
960: D209 Put multi-line docstring closing quotes on separate line
960: D202 No blank lines allowed *after* function docstring, found 1
960: D205 Blank line missing between one-line summary and description
967:11: E221 multiple spaces before operator
995:1: E302 expected 2 blank lines, found 1
995: D209 Put multi-line docstring closing quotes on separate line
995: D202 No blank lines allowed *after* function docstring, found 1
995: D205 Blank line missing between one-line summary and description
1001:5: F841 local variable 'fmt_dict' is assigned to but never used
1006:1: E302 expected 2 blank lines, found 1
1006: D209 Put multi-line docstring closing quotes on separate line
1006: D202 No blank lines allowed *after* function docstring, found 1
1006: D205 Blank line missing between one-line summary and description
1011:5: F841 local variable 'fld_dict' is assigned to but never used
1023:1: E302 expected 2 blank lines, found 1
1023: D209 Put multi-line docstring closing quotes on separate line
1023: D202 No blank lines allowed *after* function docstring, found 1
1023: D205 Blank line missing between one-line summary and description
1028:5: F841 local variable 'name_1' is assigned to but never used
1029:5: F841 local variable 'name_2' is assigned to but never used
1034:1: E302 expected 2 blank lines, found 1
1034: D202 No blank lines allowed *after* function docstring, found 1
1034: D205 Blank line missing between one-line summary and description
1071:1: E302 expected 2 blank lines, found 1
1071: D202 No blank lines allowed *after* function docstring, found 1
1071: D205 Blank line missing between one-line summary and description
1094:31: E128 continuation line under-indented for visual indent
1095:31: E128 continuation line under-indented for visual indent
1096:31: E128 continuation line under-indented for visual indent
1097:31: E128 continuation line under-indented for visual indent
1098:31: E128 continuation line under-indented for visual indent
1099:31: E128 continuation line under-indented for visual indent
1100:31: E128 continuation line under-indented for visual indent
1102:31: E128 continuation line under-indented for visual indent
1103:31: E128 continuation line under-indented for visual indent
1104:31: E128 continuation line under-indented for visual indent
1105:31: E128 continuation line under-indented for visual indent
1106:31: E128 continuation line under-indented for visual indent
1107:31: E128 continuation line under-indented for visual indent
1108:31: E128 continuation line under-indented for visual indent
1127:1: E302 expected 2 blank lines, found 1
1127: D209 Put multi-line docstring closing quotes on separate line
1127: D202 No blank lines allowed *after* function docstring, found 1
1127: D205 Blank line missing between one-line summary and description
1143:11: E221 multiple spaces before operator
1180:1: E302 expected 2 blank lines, found 1
1180: D209 Put multi-line docstring closing quotes on separate line
1180: D202 No blank lines allowed *after* function docstring, found 1
1180: D205 Blank line missing between one-line summary and description
1187:11: E221 multiple spaces before operator
1189:5: F841 local variable 'col_dict' is assigned to but never used
1219:1: E302 expected 2 blank lines, found 1
1219: D202 No blank lines allowed *after* function docstring, found 1
1219: D400 First line should end with '.', not 'y'
1219: D205 Blank line missing between one-line summary and description
1226:11: E221 multiple spaces before operator
1231:20: W601 .has_key() is deprecated, use 'in'
1234:24: W601 .has_key() is deprecated, use 'in'
1246:1: E302 expected 2 blank lines, found 1
1246: D202 No blank lines allowed *after* function docstring, found 1
1246: D400 First line should end with '.', not 'y'
1246: D205 Blank line missing between one-line summary and description
1252:11: E221 multiple spaces before operator
1254:16: E222 multiple spaces after operator
1259:23: W601 .has_key() is deprecated, use 'in'
1276:1: E302 expected 2 blank lines, found 1
1276: D209 Put multi-line docstring closing quotes on separate line
1276: D202 No blank lines allowed *after* function docstring, found 1
1276: D205 Blank line missing between one-line summary and description
1283:11: E221 multiple spaces before operator
1291:5: F841 local variable 'lang' is assigned to but never used
1292:10: E222 multiple spaces after operator
1293:5: F841 local variable 'col_dict' is assigned to but never used
1294:5: F841 local variable 'fld_dict' is assigned to but never used
1295:5: F841 local variable 'col_fld' is assigned to but never used
1296:14: E221 multiple spaces before operator
1297:5: F841 local variable 'fldv_dict' is assigned to but never used
1308:22: E221 multiple spaces before operator
1329:1: E302 expected 2 blank lines, found 1
1329: D209 Put multi-line docstring closing quotes on separate line
1329: D202 No blank lines allowed *after* function docstring, found 1
1329: D205 Blank line missing between one-line summary and description
1336:11: E221 multiple spaces before operator
1343:5: F841 local variable 'lang' is assigned to but never used
1344:10: E222 multiple spaces after operator
1345:5: F841 local variable 'col_dict' is assigned to but never used
1348:14: E221 multiple spaces before operator
1349:5: F841 local variable 'fldv_dict' is assigned to but never used
1353:9: E221 multiple spaces before operator
1359:61: W601 .has_key() is deprecated, use 'in'
1376:15: E221 multiple spaces before operator
1389:1: E302 expected 2 blank lines, found 1
1389: D202 No blank lines allowed *after* function docstring, found 1
1398:443: E221 multiple spaces before operator
1411:5: F841 local variable 'lang' is assigned to but never used
1413:5: F841 local variable 'fld_type_list' is assigned to but never used
1450:1: E302 expected 2 blank lines, found 1
1450: D202 No blank lines allowed *after* function docstring, found 1
1459:446: E221 multiple spaces before operator
1472:5: F841 local variable 'lang' is assigned to but never used
1474:5: F841 local variable 'fld_type_list' is assigned to but never used
1511:1: E302 expected 2 blank lines, found 1
1511: D202 No blank lines allowed *after* function docstring, found 1
1520:449: E221 multiple spaces before operator
1533:5: F841 local variable 'lang' is assigned to but never used
1535:5: F841 local variable 'fld_type_list' is assigned to but never used
1542:13: F841 local variable 'col_fld' is assigned to but never used
1573: D202 No blank lines allowed *after* function docstring, found 1
1573: D400 First line should end with '.', not 'd'
1577:5: F841 local variable 'col_dict' is assigned to but never used
1583:417: E221 multiple spaces before operator
1594:5: F841 local variable 'lang' is assigned to but never used
1596:5: F841 local variable 'fld_type_list' is assigned to but never used
1635:1: E302 expected 2 blank lines, found 1
1635: D401 First line should be imperative: 'show', not 'shows'
1635: D209 Put multi-line docstring closing quotes on separate line
1635: D202 No blank lines allowed *after* function docstring, found 1
1635: D400 First line should end with '.', not 'n'
1635: D205 Blank line missing between one-line summary and description
1643:323: E221 multiple spaces before operator
1689:1: E302 expected 2 blank lines, found 1
1689: D103 Docstring missing
1710:1: E302 expected 2 blank lines, found 1
1710: D202 No blank lines allowed *after* function docstring, found 1
1736:1: E302 expected 2 blank lines, found 1
1736: D103 Docstring missing
1761:1: E302 expected 2 blank lines, found 1
1761: D202 No blank lines allowed *after* function docstring, found 1
1781:9: F841 local variable 'check' is assigned to but never used
1784:23: E231 missing whitespace after ':'
1785:23: E231 missing whitespace after ':'
1786:23: E231 missing whitespace after ':'
1796:1: E302 expected 2 blank lines, found 1
1799:5: F841 local variable 'changes' is assigned to but never used
1803:5: E303 too many blank lines (2)
1809:67: E502 the backslash is redundant between brackets
1811:2: E111 indentation is not a multiple of four
1827:78: E502 the backslash is redundant between brackets
1834: D209 Put multi-line docstring closing quotes on separate line
1834: D202 No blank lines allowed *after* function docstring, found 1
1834: D205 Blank line missing between one-line summary and description
1840:11: E221 multiple spaces before operator
1846:5: F841 local variable 'fmt_dict' is assigned to but never used
1847:5: F841 local variable 'col_dict' is assigned to but never used
1852:13: E221 multiple spaces before operator
1858:27: W601 .has_key() is deprecated, use 'in'
1860:30: E221 multiple spaces before operator
1870:15: E221 multiple spaces before operator
1875:15: E221 multiple spaces before operator
1882:1: E302 expected 2 blank lines, found 1
1882: D209 Put multi-line docstring closing quotes on separate line
1882: D202 No blank lines allowed *after* function docstring, found 1
1882: D205 Blank line missing between one-line summary and description
1888:11: E221 multiple spaces before operator
1897:9: F841 local variable 'old_colNAME' is assigned to but never used
1902:5: F841 local variable 'col_dict' is assigned to but never used
1907:13: E221 multiple spaces before operator
1913:27: W601 .has_key() is deprecated, use 'in'
1914:65: E221 multiple spaces before operator
1941:15: E221 multiple spaces before operator
1948:1: E302 expected 2 blank lines, found 1
1948: D202 No blank lines allowed *after* function docstring, found 1
1948: D205 Blank line missing between one-line summary and description
1955:11: E221 multiple spaces before operator
1981:1: E302 expected 2 blank lines, found 1
1981: D202 No blank lines allowed *after* function docstring, found 1
1981: D200 One-line docstring should not occupy 2 lines
1985:5: F841 local variable 'subtitle' is assigned to but never used
1989:5: F841 local variable 'output' is assigned to but never used
1991:20: W601 .has_key() is deprecated, use 'in'
2000:227: E203 whitespace before ':'
2066:1: E302 expected 2 blank lines, found 1
2066: D401 First line should be imperative: 'Return', not 'Returns'
2066: D202 No blank lines allowed *after* function docstring, found 1
2066: D400 First line should end with '.', not 'e'
2078:27: W601 .has_key() is deprecated, use 'in'
2086:1: E302 expected 2 blank lines, found 1
2086: D401 First line should be imperative: 'Create', not 'Creates'
2086: D209 Put multi-line docstring closing quotes on separate line
2086: D202 No blank lines allowed *after* function docstring, found 1
2086: D205 Blank line missing between one-line summary and description
2098:9: F841 local variable 'move_from_id' is assigned to but never used
2127:35: F841 local variable 'e' is assigned to but never used
2202:187: E225 missing whitespace around operator
2202:267: E225 missing whitespace around operator
2202:277: E225 missing whitespace around operator
2202:375: E225 missing whitespace around operator
2202:484: E225 missing whitespace around operator
2217:1: E302 expected 2 blank lines, found 1
2217: D202 No blank lines allowed *after* function docstring, found 1
2217: D400 First line should end with '.', not 'n'
2217: D205 Blank line missing between one-line summary and description
2222:15: E225 missing whitespace around operator
2223:11: E221 multiple spaces before operator
2236:41: W601 .has_key() is deprecated, use 'in'
2274:1: E302 expected 2 blank lines, found 1
2274: D209 Put multi-line docstring closing quotes on separate line
2274: D202 No blank lines allowed *after* function docstring, found 1
2274: D205 Blank line missing between one-line summary and description
2283:20: W601 .has_key() is deprecated, use 'in'
2354:9: E271 multiple spaces after keyword
2374:1: E302 expected 2 blank lines, found 1
2374: D202 No blank lines allowed *after* function docstring, found 1
2378:11: E221 multiple spaces before operator
2381:5: F841 local variable 'col_dict' is assigned to but never used
2401:28: E128 continuation line under-indented for visual indent
2402:24: F841 local variable 'e' is assigned to but never used
2416:54: E225 missing whitespace around operator
2416:88: E225 missing whitespace around operator
2424:54: E225 missing whitespace around operator
2424:88: E225 missing whitespace around operator
2437:9: F841 local variable 'webcoll__update_time' is assigned to but never used
2438:54: E225 missing whitespace around operator
2438:88: E225 missing whitespace around operator
2448:54: E225 missing whitespace around operator
2448:88: E225 missing whitespace around operator
2467:1: E302 expected 2 blank lines, found 1
2467: D209 Put multi-line docstring closing quotes on separate line
2467: D202 No blank lines allowed *after* function docstring, found 1
2467: D205 Blank line missing between one-line summary and description
2472:11: E221 multiple spaces before operator
2476:26: W601 .has_key() is deprecated, use 'in'
2490:1: E302 expected 2 blank lines, found 1
2490: D202 No blank lines allowed *after* function docstring, found 1
2496:11: E221 multiple spaces before operator
2499:5: F841 local variable 'col_dict' is assigned to but never used
2501:13: E128 continuation line under-indented for visual indent
2503:27: E231 missing whitespace after ','
2504:13: E128 continuation line under-indented for visual indent
2505:5: F841 local variable 'rnk_list' is assigned to but never used
2516:56: E701 multiple statements on one line (colon)
2517:13: E701 multiple statements on one line (colon)
2566:1: E302 expected 2 blank lines, found 1
2566: D202 No blank lines allowed *after* function docstring, found 1
2570:11: E221 multiple spaces before operator
2626:25: E126 continuation line over-indented for hanging indent
2626:36: E203 whitespace before ':'
2627:38: E203 whitespace before ':'
2640:29: E126 continuation line over-indented for hanging indent
2640:40: E203 whitespace before ':'
2641:42: E203 whitespace before ':'
2642:35: E203 whitespace before ':'
2643:39: E203 whitespace before ':'
2644:36: E203 whitespace before ':'
2645:33: E203 whitespace before ':'
2652:29: E126 continuation line over-indented for hanging indent
2652:40: E203 whitespace before ':'
2653:42: E203 whitespace before ':'
2666:29: E126 continuation line over-indented for hanging indent
2666:40: E203 whitespace before ':'
2667:42: E203 whitespace before ':'
2668:35: E203 whitespace before ':'
2669:39: E203 whitespace before ':'
2670:36: E203 whitespace before ':'
2671:33: E203 whitespace before ':'
2678:29: E126 continuation line over-indented for hanging indent
2678:40: E203 whitespace before ':'
2679:42: E203 whitespace before ':'
2687:25: E126 continuation line over-indented for hanging indent
2687:36: E203 whitespace before ':'
2688:38: E203 whitespace before ':'
2699:1: E302 expected 2 blank lines, found 1
2699: D400 First line should end with '.', not 's'
2703:10: E127 continuation line over-indented for visual indent
2704:10: E127 continuation line over-indented for visual indent
2707:11: E221 multiple spaces before operator
2746:1: E302 expected 2 blank lines, found 1
2750:1: E302 expected 2 blank lines, found 1
2750: D401 First line should be imperative: 'Return', not 'Returns'
2750: D209 Put multi-line docstring closing quotes on separate line
2750: D202 No blank lines allowed *after* function docstring, found 1
2750: D400 First line should end with '.', not 'n'
2750: D205 Blank line missing between one-line summary and description
2770:17: F841 local variable 'score' is assigned to but never used
2784:27: F841 local variable 'e' is assigned to but never used
2788:1: E302 expected 2 blank lines, found 1
2788: D209 Put multi-line docstring closing quotes on separate line
2788: D202 No blank lines allowed *after* function docstring, found 1
2788: D400 First line should end with '.', not ')'
2788: D205 Blank line missing between one-line summary and description
2807:1: E302 expected 2 blank lines, found 1
2807: D202 No blank lines allowed *after* function docstring, found 1
2807: D400 First line should end with '.', not 's'
2812:1: E302 expected 2 blank lines, found 1
2812:31: E251 unexpected spaces around keyword / parameter equals
2812:33: E251 unexpected spaces around keyword / parameter equals
2812: D401 First line should be imperative: 'Return', not 'Returns'
2812: D209 Put multi-line docstring closing quotes on separate line
2812: D202 No blank lines allowed *after* function docstring, found 1
2812: D205 Blank line missing between one-line summary and description
2833:1: E302 expected 2 blank lines, found 1
2833:42: E251 unexpected spaces around keyword / parameter equals
2833:44: E251 unexpected spaces around keyword / parameter equals
2833: D401 First line should be imperative: 'Return', not 'Returns'
2833: D209 Put multi-line docstring closing quotes on separate line
2833: D202 No blank lines allowed *after* function docstring, found 1
2833: D205 Blank line missing between one-line summary and description
2854:1: E302 expected 2 blank lines, found 1
2854: D401 First line should be imperative: 'Return', not 'Returns'
2854: D209 Put multi-line docstring closing quotes on separate line
2854: D202 No blank lines allowed *after* function docstring, found 1
2854: D400 First line should end with '.', not 'n'
2854: D205 Blank line missing between one-line summary and description
2864:1: E302 expected 2 blank lines, found 1
2864: D401 First line should be imperative: 'Return', not 'Returns'
2864: D290 White spaces around docstring should be trimmed.
2864: D209 Put multi-line docstring closing quotes on separate line
2864: D202 No blank lines allowed *after* function docstring, found 1
2864: D400 First line should end with '.', not 'o'
2864: D205 Blank line missing between one-line summary and description
2871:39: W601 .has_key() is deprecated, use 'in'
2873:27: F841 local variable 'e' is assigned to but never used
2876:1: E302 expected 2 blank lines, found 1
2876: D401 First line should be imperative: 'Return', not 'Returns'
2876: D202 No blank lines allowed *after* function docstring, found 1
2876: D400 First line should end with '.', not 's'
2882:1: E302 expected 2 blank lines, found 1
2882:25: E251 unexpected spaces around keyword / parameter equals
2882:27: E251 unexpected spaces around keyword / parameter equals
2882: D401 First line should be imperative: 'Return', not 'Returns'
2882: D202 No blank lines allowed *after* function docstring, found 1
2882: D400 First line should end with '.', not 'e'
2894:1: E302 expected 2 blank lines, found 1
2894: D401 First line should be imperative: 'Return', not 'Returns'
2894: D202 No blank lines allowed *after* function docstring, found 1
2894: D400 First line should end with '.', not 'x'
2906:1: E302 expected 2 blank lines, found 1
2906: D202 No blank lines allowed *after* function docstring, found 1
2906: D400 First line should end with '.', not 's'
2915:1: E302 expected 2 blank lines, found 1
2915: D202 No blank lines allowed *after* function docstring, found 1
2915: D400 First line should end with '.', not 's'
2922:1: E302 expected 2 blank lines, found 1
2922: D202 No blank lines allowed *after* function docstring, found 1
2922: D400 First line should end with '.', not 's'
2929:1: E302 expected 2 blank lines, found 1
2929: D202 No blank lines allowed *after* function docstring, found 1
2929: D400 First line should end with '.', not 's'
2936:1: E302 expected 2 blank lines, found 1
2936: D202 No blank lines allowed *after* function docstring, found 1
2936: D400 First line should end with '.', not 'n'
2945:1: E302 expected 2 blank lines, found 1
2945: D202 No blank lines allowed *after* function docstring, found 1
2945: D400 First line should end with '.', not 'n'
2954:1: E302 expected 2 blank lines, found 1
2954: D209 Put multi-line docstring closing quotes on separate line
2954: D202 No blank lines allowed *after* function docstring, found 1
2954: D205 Blank line missing between one-line summary and description
2973:1: E302 expected 2 blank lines, found 1
2973: D209 Put multi-line docstring closing quotes on separate line
2973: D202 No blank lines allowed *after* function docstring, found 1
2973: D205 Blank line missing between one-line summary and description
2996:1: E302 expected 2 blank lines, found 1
2996: D209 Put multi-line docstring closing quotes on separate line
2996: D202 No blank lines allowed *after* function docstring, found 1
2996: D400 First line should end with '.', not 'n'
2996: D205 Blank line missing between one-line summary and description
3002:9: F841 local variable 'res' is assigned to but never used
3008:1: E302 expected 2 blank lines, found 1
3008: D209 Put multi-line docstring closing quotes on separate line
3008: D202 No blank lines allowed *after* function docstring, found 1
3008: D400 First line should end with '.', not 'n'
3008: D205 Blank line missing between one-line summary and description
3014:9: F841 local variable 'res' is assigned to but never used
3020:1: E302 expected 2 blank lines, found 1
3020: D103 Docstring missing
3025:9: F841 local variable 'res' is assigned to but never used
3031:1: E302 expected 2 blank lines, found 1
3031: D209 Put multi-line docstring closing quotes on separate line
3031: D202 No blank lines allowed *after* function docstring, found 1
3031: D205 Blank line missing between one-line summary and description
3053:1: E302 expected 2 blank lines, found 1
3053: D401 First line should be imperative: 'Remove', not 'Removes'
3053: D209 Put multi-line docstring closing quotes on separate line
3053: D202 No blank lines allowed *after* function docstring, found 1
3053: D205 Blank line missing between one-line summary and description
3060:9: F841 local variable 'res' is assigned to but never used
3066:1: E302 expected 2 blank lines, found 1
3066: D401 First line should be imperative: 'Remove', not 'Removes'
3066: D209 Put multi-line docstring closing quotes on separate line
3066: D202 No blank lines allowed *after* function docstring, found 1
3066: D205 Blank line missing between one-line summary and description
3072:9: F841 local variable 'res' is assigned to but never used
3078:1: E302 expected 2 blank lines, found 1
3078: D401 First line should be imperative: 'Remove', not 'Removes'
3078: D209 Put multi-line docstring closing quotes on separate line
3078: D202 No blank lines allowed *after* function docstring, found 1
3078: D205 Blank line missing between one-line summary and description
3092:9: F841 local variable 'res' is assigned to but never used
3098:1: E302 expected 2 blank lines, found 1
3098: D401 First line should be imperative: 'Delete', not 'Deletes'
3098: D209 Put multi-line docstring closing quotes on separate line
3098: D202 No blank lines allowed *after* function docstring, found 1
3098: D400 First line should end with '.', not 'e'
3098: D205 Blank line missing between one-line summary and description
3104:9: F841 local variable 'res' is assigned to but never used
3110:1: E302 expected 2 blank lines, found 1
3110: D401 First line should be imperative: 'Delete', not 'Deletes'
3110: D209 Put multi-line docstring closing quotes on separate line
3110: D202 No blank lines allowed *after* function docstring, found 1
3110: D400 First line should end with '.', not 'x'
3110: D205 Blank line missing between one-line summary and description
3116:9: F841 local variable 'res' is assigned to but never used
3122:1: E302 expected 2 blank lines, found 1
3122: D401 First line should be imperative: 'Delete', not 'Deletes'
3122: D209 Put multi-line docstring closing quotes on separate line
3122: D202 No blank lines allowed *after* function docstring, found 1
3122: D400 First line should end with '.', not 't'
3122: D205 Blank line missing between one-line summary and description
3129:9: F841 local variable 'res' is assigned to but never used
3135:1: E302 expected 2 blank lines, found 1
3135: D401 First line should be imperative: 'Delete', not 'Deletes'
3135: D209 Put multi-line docstring closing quotes on separate line
3135: D202 No blank lines allowed *after* function docstring, found 1
3135: D400 First line should end with '.', not 'n'
3135: D205 Blank line missing between one-line summary and description
3147:9: F841 local variable 'res' is assigned to but never used
3153:1: E302 expected 2 blank lines, found 1
3153: D209 Put multi-line docstring closing quotes on separate line
3153: D202 No blank lines allowed *after* function docstring, found 1
3153: D205 Blank line missing between one-line summary and description
3162:9: F841 local variable 'res' is assigned to but never used
3169:1: E302 expected 2 blank lines, found 1
3169: D209 Put multi-line docstring closing quotes on separate line
3169: D202 No blank lines allowed *after* function docstring, found 1
3169: D400 First line should end with '.', not 'e'
3169: D205 Blank line missing between one-line summary and description
3177:9: F841 local variable 'res' is assigned to but never used
3183:1: E302 expected 2 blank lines, found 1
3183: D209 Put multi-line docstring closing quotes on separate line
3183: D202 No blank lines allowed *after* function docstring, found 1
3183: D400 First line should end with '.', not 'e'
3183: D205 Blank line missing between one-line summary and description
3201:1: E302 expected 2 blank lines, found 1
3201: D103 Docstring missing
3213:1: E302 expected 2 blank lines, found 1
3213: D401 First line should be imperative: 'Add', not 'Adds'
3213: D209 Put multi-line docstring closing quotes on separate line
3213: D400 First line should end with '.', not 'e'
3213: D205 Blank line missing between one-line summary and description
3225:35: E231 missing whitespace after ','
3228:35: E231 missing whitespace after ','
3230:9: F841 local variable 'res' is assigned to but never used
3240:1: E302 expected 2 blank lines, found 1
3240: D209 Put multi-line docstring closing quotes on separate line
3240: D202 No blank lines allowed *after* function docstring, found 1
3240: D205 Blank line missing between one-line summary and description
3263:1: E302 expected 2 blank lines, found 1
3263: D209 Put multi-line docstring closing quotes on separate line
3263: D202 No blank lines allowed *after* function docstring, found 1
3263: D205 Blank line missing between one-line summary and description
3284:1: E302 expected 2 blank lines, found 1
3284: D209 Put multi-line docstring closing quotes on separate line
3284: D202 No blank lines allowed *after* function docstring, found 1
3284: D205 Blank line missing between one-line summary and description
3324:1: E302 expected 2 blank lines, found 1
3324: D209 Put multi-line docstring closing quotes on separate line
3324: D205 Blank line missing between one-line summary and description
3332:9: F841 local variable 'res' is assigned to but never used
3338:1: E302 expected 2 blank lines, found 1
3338: D209 Put multi-line docstring closing quotes on separate line
3338: D202 No blank lines allowed *after* function docstring, found 1
3338: D400 First line should end with '.', not 'x'
3338: D205 Blank line missing between one-line summary and description
3356:13: F841 local variable 'res' is assigned to but never used
3362:1: E302 expected 2 blank lines, found 1
3362: D209 Put multi-line docstring closing quotes on separate line
3362: D202 No blank lines allowed *after* function docstring, found 1
3362: D400 First line should end with '.', not 'e'
3362: D205 Blank line missing between one-line summary and description
3375:13: F841 local variable 'res' is assigned to but never used
3381:1: E302 expected 2 blank lines, found 1
3381: D209 Put multi-line docstring closing quotes on separate line
3381: D202 No blank lines allowed *after* function docstring, found 1
3381: D400 First line should end with '.', not 'e'
3381: D205 Blank line missing between one-line summary and description
3394:13: F841 local variable 'res' is assigned to but never used
3400:1: E302 expected 2 blank lines, found 1
3400: D209 Put multi-line docstring closing quotes on separate line
3400: D202 No blank lines allowed *after* function docstring, found 1
3400: D205 Blank line missing between one-line summary and description
3412:9: F841 local variable 'res' is assigned to but never used
3418:1: E302 expected 2 blank lines, found 1
3418: D209 Put multi-line docstring closing quotes on separate line
3418: D202 No blank lines allowed *after* function docstring, found 1
3418: D205 Blank line missing between one-line summary and description
3430:9: F841 local variable 'res' is assigned to but never used
3436:1: E302 expected 2 blank lines, found 1
3436: D401 First line should be imperative: 'Return', not 'Returns'
3436: D400 First line should end with '.', not 'e'
3436: D205 Blank line missing between one-line summary and description
3454:24: E203 whitespace before ':'
3456:24: E203 whitespace before ':'
3457:24: E203 whitespace before ':'
3458:24: E203 whitespace before ':'
3459:24: E203 whitespace before ':'
3460:24: E203 whitespace before ':'
3461:24: E203 whitespace before ':'
3462:24: E203 whitespace before ':'
3463:24: E203 whitespace before ':'
3464:24: E203 whitespace before ':'
3467:74: E502 the backslash is redundant between brackets
3473:20: W601 .has_key() is deprecated, use 'in'
3474:50: E703 statement ends with a semicolon
3483:5: E303 too many blank lines (2)
3484:12: E127 continuation line over-indented for visual indent
3515:25: E261 at least two spaces before inline comment
3517:41: E713 test for membership should be 'not in'
3533:14: E222 multiple spaces after operator
3556:1: E303 too many blank lines (3)
3556: D401 First line should be imperative: 'return', not 'returns'
3556: D400 First line should end with '.', not 't'
3561:1: E302 expected 2 blank lines, found 1
3561: D401 First line should be imperative: 'Return', not 'Returns'
3561: D202 No blank lines allowed *after* function docstring, found 1
3561: D400 First line should end with '.', not 's'
3561: D205 Blank line missing between one-line summary and description
3573:21: E261 at least two spaces before inline comment
3573:22: E262 inline comment should start with '# '
3574:20: E261 at least two spaces before inline comment
3574:21: E262 inline comment should start with '# '
3575:33: E203 whitespace before ':'
3576:33: E203 whitespace before ':'
3577:33: E203 whitespace before ':'
3588:26: E261 at least two spaces before inline comment
3588:26: E262 inline comment should start with '# '