Collection related unicode errors fix

1: D200 One-line docstring should not occupy 3 lines
29:1: F401 'iteritems' imported but unused
158: D203 Expected 1 blank line *before* class docstring, found 0
161: D102 Docstring missing
165: D102 Docstring missing
169: D102 Docstring missing
174:17: E128 continuation line under-indented for visual indent
176:17: E128 continuation line under-indented for visual indent
178:17: E128 continuation line under-indented for visual indent
180:17: E128 continuation line under-indented for visual indent
183:38: E128 continuation line under-indented for visual indent
185:17: E128 continuation line under-indented for visual indent
186:17: E128 continuation line under-indented for visual indent
187:17: E128 continuation line under-indented for visual indent
190:17: E128 continuation line under-indented for visual indent
193:17: E128 continuation line under-indented for visual indent
194:17: E128 continuation line under-indented for visual indent
195:17: E128 continuation line under-indented for visual indent
198:17: E128 continuation line under-indented for visual indent
203: D102 Docstring missing
217: D102 Docstring missing
221: D102 Docstring missing
235: D102 Docstring missing
243: D102 Docstring missing
252: D102 Docstring missing
257: D102 Docstring missing
260:13: E125 continuation line with same indent as next logical line
266:13: E128 continuation line under-indented for visual indent
267:13: E128 continuation line under-indented for visual indent
268:13: E128 continuation line under-indented for visual indent
269:13: E128 continuation line under-indented for visual indent
270:13: E128 continuation line under-indented for visual indent
272:13: E128 continuation line under-indented for visual indent
273:13: E128 continuation line under-indented for visual indent
280:13: E128 continuation line under-indented for visual indent
281:13: E128 continuation line under-indented for visual indent
288:13: E128 continuation line under-indented for visual indent
289:13: E128 continuation line under-indented for visual indent
290:13: E128 continuation line under-indented for visual indent
291:13: E128 continuation line under-indented for visual indent
292:13: E128 continuation line under-indented for visual indent
295:9: E128 continuation line under-indented for visual indent
297:9: E128 continuation line under-indented for visual indent
301:1: E128 continuation line under-indented for visual indent
302:13: E128 continuation line under-indented for visual indent
320:13: E128 continuation line under-indented for visual indent
321:13: E128 continuation line under-indented for visual indent
322:13: E128 continuation line under-indented for visual indent
326:13: E126 continuation line over-indented for hanging indent
337: D200 One-line docstring should not occupy 3 lines
345:17: E128 continuation line under-indented for visual indent
351: D102 Docstring missing
380:13: E126 continuation line over-indented for hanging indent
390:21: E128 continuation line under-indented for visual indent
395:5: E303 too many blank lines (2)
436:5: E303 too many blank lines (2)
437:13: E126 continuation line over-indented for hanging indent
440:33: E502 the backslash is redundant between brackets
441:17: E131 continuation line unaligned for hanging indent
458: D401 First line should be imperative: 'Retund', not 'Retunds'
479:1: E303 too many blank lines (3)
479: D203 Expected 1 blank line *before* class docstring, found 0
479: D204 Expected 1 blank line *after* class docstring, found 0
483:17: E128 continuation line under-indented for visual indent
484:13: E128 continuation line under-indented for visual indent
486:17: E128 continuation line under-indented for visual indent
488:17: E128 continuation line under-indented for visual indent
492: D102 Docstring missing
496: D102 Docstring missing
509: D203 Expected 1 blank line *before* class docstring, found 0
509: D204 Expected 1 blank line *after* class docstring, found 0
537: D203 Expected 1 blank line *before* class docstring, found 0
537: D204 Expected 1 blank line *after* class docstring, found 0
541:17: E128 continuation line under-indented for visual indent
542:13: E128 continuation line under-indented for visual indent
544:17: E128 continuation line under-indented for visual indent
546:13: E128 continuation line under-indented for visual indent
549: D203 Expected 1 blank line *before* class docstring, found 0
549: D204 Expected 1 blank line *after* class docstring, found 0
553:17: E128 continuation line under-indented for visual indent
555:17: E128 continuation line under-indented for visual indent
557:17: E128 continuation line under-indented for visual indent
559:17: E128 continuation line under-indented for visual indent
561:17: E128 continuation line under-indented for visual indent
562:17: E128 continuation line under-indented for visual indent
563:17: E128 continuation line under-indented for visual indent
565:17: E128 continuation line under-indented for visual indent
568: D203 Expected 1 blank line *before* class docstring, found 0
568: D204 Expected 1 blank line *after* class docstring, found 0
572:17: E128 continuation line under-indented for visual indent
577: D203 Expected 1 blank line *before* class docstring, found 0
577: D204 Expected 1 blank line *after* class docstring, found 0
581:17: E128 continuation line under-indented for visual indent
583:17: E128 continuation line under-indented for visual indent
585:17: E128 continuation line under-indented for visual indent
587:17: E128 continuation line under-indented for visual indent
591: D203 Expected 1 blank line *before* class docstring, found 0
591: D204 Expected 1 blank line *after* class docstring, found 0
595:17: E128 continuation line under-indented for visual indent
600: D401 First line should be imperative: 'Return', not 'Returns'
600: D202 No blank lines allowed *after* function docstring, found 1
600: D400 First line should end with '.', not 'x'
613: D203 Expected 1 blank line *before* class docstring, found 0
613: D204 Expected 1 blank line *after* class docstring, found 0
617:17: E128 continuation line under-indented for visual indent
619:17: E128 continuation line under-indented for visual indent
621:17: E128 continuation line under-indented for visual indent
623:17: E128 continuation line under-indented for visual indent
625:17: E128 continuation line under-indented for visual indent
626:13: E128 continuation line under-indented for visual indent
628:17: E128 continuation line under-indented for visual indent
630:17: E128 continuation line under-indented for visual indent
633: D203 Expected 1 blank line *before* class docstring, found 0
633: D204 Expected 1 blank line *after* class docstring, found 0
637:17: E128 continuation line under-indented for visual indent
639:17: E128 continuation line under-indented for visual indent
642: D102 Docstring missing
649: D203 Expected 1 blank line *before* class docstring, found 0
649: D204 Expected 1 blank line *after* class docstring, found 0
653:17: E128 continuation line under-indented for visual indent
654:17: E128 continuation line under-indented for visual indent
655:17: E128 continuation line under-indented for visual indent
657:17: E128 continuation line under-indented for visual indent
658:17: E128 continuation line under-indented for visual indent
659:17: E126 continuation line over-indented for hanging indent
662:17: E128 continuation line under-indented for visual indent
663:18: E128 continuation line under-indented for visual indent
667:13: E128 continuation line under-indented for visual indent
678: D203 Expected 1 blank line *before* class docstring, found 0
678: D204 Expected 1 blank line *after* class docstring, found 0
682:17: E128 continuation line under-indented for visual indent
684:17: E128 continuation line under-indented for visual indent
686:17: E128 continuation line under-indented for visual indent
688:17: E128 continuation line under-indented for visual indent
690:17: E128 continuation line under-indented for visual indent
693: D203 Expected 1 blank line *before* class docstring, found 0
696: D102 Docstring missing
701:17: E128 continuation line under-indented for visual indent
704:17: E128 continuation line under-indented for visual indent
712: D102 Docstring missing
723: D203 Expected 1 blank line *before* class docstring, found 0
723: D204 Expected 1 blank line *after* class docstring, found 0
725: D102 Docstring missing
729:17: E128 continuation line under-indented for visual indent
730:17: E128 continuation line under-indented for visual indent
735: D203 Expected 1 blank line *before* class docstring, found 0
735: D204 Expected 1 blank line *after* class docstring, found 0
746: D203 Expected 1 blank line *before* class docstring, found 0
746: D204 Expected 1 blank line *after* class docstring, found 0
754: D102 Docstring missing
765: D401 First line should be imperative: 'Return', not 'Returns'
770: D203 Expected 1 blank line *before* class docstring, found 0
770: D204 Expected 1 blank line *after* class docstring, found 0
774:17: E128 continuation line under-indented for visual indent
776:17: E128 continuation line under-indented for visual indent
778:17: E128 continuation line under-indented for visual indent
782: D102 Docstring missing
790: D401 First line should be imperative: 'Return', not 'Returns'
790: D290 White spaces around docstring should be trimmed.
795: D203 Expected 1 blank line *before* class docstring, found 0
795: D204 Expected 1 blank line *after* class docstring, found 0
799:17: E128 continuation line under-indented for visual indent
804: D203 Expected 1 blank line *before* class docstring, found 0
804: D204 Expected 1 blank line *after* class docstring, found 0
808:17: E128 continuation line under-indented for visual indent
810:17: E128 continuation line under-indented for visual indent
811:17: E128 continuation line under-indented for visual indent
813:17: E128 continuation line under-indented for visual indent
817: D203 Expected 1 blank line *before* class docstring, found 0
817: D204 Expected 1 blank line *after* class docstring, found 0
821:17: E128 continuation line under-indented for visual indent
823:17: E128 continuation line under-indented for visual indent
825:17: E128 continuation line under-indented for visual indent
827:17: E128 continuation line under-indented for visual indent
829:17: E128 continuation line under-indented for visual indent
831:17: E128 continuation line under-indented for visual indent
834:17: E128 continuation line under-indented for visual indent
836:17: E128 continuation line under-indented for visual indent
838:17: E128 continuation line under-indented for visual indent
854: D102 Docstring missing