1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
22:1: E402 module level import not at top of file
23:1: E402 module level import not at top of file
24:1: I100 Imports statements are in the wrong order. import datetime should be before import os
24:1: E402 module level import not at top of file
25:1: F401 'time' imported but unused
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import sys should be before import time
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
28:1: I201 Missing newline before sections or imports.
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import threading should be before from invenio.utils
29:1: I201 Missing newline before sections or imports.
29:1: F401 'threading' imported but unused
29:1: E402 module level import not at top of file
41:1: I101 Imported names are in the wrong order. Should be CFG_BIBRANK_SHOW_DOWNLOAD_STATS, CFG_CACHEDIR, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBDIR, CFG_WEBSEARCH_DEFAULT_SEARCH_INTERFACE, CFG_WEBSEARCH_ENABLED_SEARCH_INTERFACES, CFG_WEBSEARCH_INSTANT_BROWSE_RSS, CFG_WEBSEARCH_MAX_RECORDS_IN_GROUPS, CFG_WEBSEARCH_RSS_I18N_COLLECTIONS, CFG_WEBSEARCH_RSS_MAX_CACHED_REQUESTS, CFG_WEBSEARCH_RSS_TTL, CFG_WEBSEARCH_USE_ALEPH_SYSNOS, CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS, CFG_WEBSEARCH_WILDCARD_LIMIT
41:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_STATS' imported but unused
41:1: E402 module level import not at top of file
42:6: E126 continuation line over-indented for hanging indent
61:1: E402 module level import not at top of file
62:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
62:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.dbquery
62:1: E402 module level import not at top of file
63:1: I101 Imported names are in the wrong order. Should be drop_default_urlargd, make_canonical_urlargd, redirect_to_url
63:1: E402 module level import not at top of file
64:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
64:1: E402 module level import not at top of file
65:1: E402 module level import not at top of file
66:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences, isUserSuperAdmin, logoutUser, page_not_authorized
66:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
66:1: E402 module level import not at top of file
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.webcomment.webinterface should be before from invenio.legacy.webuser
68:1: E402 module level import not at top of file
69:1: E402 module level import not at top of file
70:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.webinterface should be before from invenio.legacy.weblinkback.webinterface
70:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be create_error_box, page, pageheaderonly
71:1: F401 'pageheaderonly' imported but unused
71:1: E402 module level import not at top of file
72:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
72:1: E402 module level import not at top of file
73:1: I101 Imported names are in the wrong order. Should be EM_REPOSITORY, check_user_can_view_record, collection_reclist_cache, collection_restricted_p, create_similarly_named_authors_link_box, get_colID, get_coll_i18nname, get_coll_normalised_name, get_most_popular_field_values, get_mysql_recid_from_aleph_sysno, guess_primary_collection_of_a_record, page_end, page_start, perform_request_cache, perform_request_log, perform_request_search, restricted_collection_cache
73:1: F401 'page_start' imported but unused
73:1: F401 'get_most_popular_field_values' imported but unused
73:1: F401 'create_similarly_named_authors_link_box' imported but unused
73:1: F401 'page_end' imported but unused
73:1: E402 module level import not at top of file
74:6: E126 continuation line over-indented for hanging indent
90:1: E402 module level import not at top of file
91:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.websearch.webcoll
91:1: F401 'get_fieldvalues' imported but unused
91:1: F401 'get_fieldvalues_alephseq_like' imported but unused
91:1: E402 module level import not at top of file
92:6: E126 continuation line over-indented for hanging indent
93:1: E402 module level import not at top of file
94:1: E402 module level import not at top of file
95:1: E402 module level import not at top of file
96:1: E402 module level import not at top of file
97:1: E402 module level import not at top of file
98:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.webcoll should be before from invenio.modules.formatter.engine
98:1: E402 module level import not at top of file
99:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.webcoll
99:1: I201 Missing newline before sections or imports.
99:1: E402 module level import not at top of file
100:1: I201 Missing newline before sections or imports.
100:1: E402 module level import not at top of file
101:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.bibupload.engine
101:1: F401 'get_cited_by_list' imported but unused
101:1: E402 module level import not at top of file
102:1: F401 'get_download_weight_total' imported but unused
102:1: E402 module level import not at top of file
103:1: F401 'summarize_records' imported but unused
103:1: E402 module level import not at top of file
104:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.search_engine.summarizer
104:1: E402 module level import not at top of file
105:1: E402 module level import not at top of file
106:1: E402 module level import not at top of file
107:1: E402 module level import not at top of file
108:1: I101 Imported names are in the wrong order. Should be WebInterfaceFilesPages, WebInterfaceManageDocFilesPages
108:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.webinterface should be before from invenio.legacy.bibmerge.webinterface
108:1: E402 module level import not at top of file
109:1: E402 module level import not at top of file
110:1: E402 module level import not at top of file
112:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.shell
112:1: E402 module level import not at top of file
118:83: E502 the backslash is redundant between brackets
124:1: E302 expected 2 blank lines, found 1
124: D202 No blank lines allowed *after* function docstring, found 1
124: D200 One-line docstring should not occupy 3 lines
162:1: E302 expected 2 blank lines, found 1
162: D290 White spaces around docstring should be trimmed.
162: D203 Expected 1 blank line *before* class docstring, found 0
162: D204 Expected 1 blank line *after* class docstring, found 0
166: D102 Docstring missing
168:17: E203 whitespace before ':'
169:21: E203 whitespace before ':'
179:13: E266 too many leading '#' for block comment
181:22: E203 whitespace before ':'
182:26: E203 whitespace before ':'
183:21: E203 whitespace before ':'
184:26: E203 whitespace before ':'
185:23: E203 whitespace before ':'
198:1: E302 expected 2 blank lines, found 1
198: D290 White spaces around docstring should be trimmed.
198: D203 Expected 1 blank line *before* class docstring, found 0
198: D400 First line should end with '.', not 't'
207: D102 Docstring missing
229: D102 Docstring missing
244:17: E128 continuation line under-indented for visual indent
272:86: E203 whitespace before ':'
274:21: E127 continuation line over-indented for visual indent
274:67: E203 whitespace before ':'
274:91: E203 whitespace before ':'
277:52: E502 the backslash is redundant between brackets
278:17: E128 continuation line under-indented for visual indent
278:32: E502 the backslash is redundant between brackets
279:17: E128 continuation line under-indented for visual indent
292:42: E261 at least two spaces before inline comment
292:43: E262 inline comment should start with '# '
306:1: E302 expected 2 blank lines, found 1
306: D290 White spaces around docstring should be trimmed.
306: D203 Expected 1 blank line *before* class docstring, found 0
306: D400 First line should end with '.', not 't'
315: D102 Docstring missing
335: D102 Docstring missing
347:17: E128 continuation line under-indented for visual indent
377:21: E128 continuation line under-indented for visual indent
378:21: E128 continuation line under-indented for visual indent
396:1: E302 expected 2 blank lines, found 1
396: D290 White spaces around docstring should be trimmed.
396: D203 Expected 1 blank line *before* class docstring, found 0
401: D290 White spaces around docstring should be trimmed.
414:17: E128 continuation line under-indented for visual indent
415:40: E126 continuation line over-indented for hanging indent
458:102: E203 whitespace before ':'
460:37: E127 continuation line over-indented for visual indent
460:83: E203 whitespace before ':'
460:107: E203 whitespace before ':'
463:64: E502 the backslash is redundant between brackets
464:29: E128 continuation line under-indented for visual indent
464:44: E502 the backslash is redundant between brackets
465:29: E128 continuation line under-indented for visual indent
475:94: E203 whitespace before ':'
477:29: E127 continuation line over-indented for visual indent
477:75: E203 whitespace before ':'
477:99: E203 whitespace before ':'
480:60: E502 the backslash is redundant between brackets
481:25: E128 continuation line under-indented for visual indent
481:40: E502 the backslash is redundant between brackets
482:25: E128 continuation line under-indented for visual indent
518: D202 No blank lines allowed *after* method docstring, found 1
528:94: E203 whitespace before ':'
530:29: E127 continuation line over-indented for visual indent
530:75: E203 whitespace before ':'
530:99: E203 whitespace before ':'
533:60: E502 the backslash is redundant between brackets
534:25: E128 continuation line under-indented for visual indent
534:40: E502 the backslash is redundant between brackets
535:25: E128 continuation line under-indented for visual indent
563:9: E303 too many blank lines (2)
574:1: E302 expected 2 blank lines, found 1
574: D290 White spaces around docstring should be trimmed.
574: D203 Expected 1 blank line *before* class docstring, found 0
579: D290 White spaces around docstring should be trimmed.
579: D202 No blank lines allowed *after* method docstring, found 1
606:1: E302 expected 2 blank lines, found 1
606: D290 White spaces around docstring should be trimmed.
619: D209 Put multi-line docstring closing quotes on separate line
619: D400 First line should end with '.', not 't'
619: D205 Blank line missing between one-line summary and description
632: D401 First line should be imperative: 'Thi', not 'This'
632: D290 White spaces around docstring should be trimmed.
632: D209 Put multi-line docstring closing quotes on separate line
632: D202 No blank lines allowed *after* method docstring, found 1
632: D400 First line should end with '.', not 'r'
632: D205 Blank line missing between one-line summary and description
666:9: E303 too many blank lines (2)
739:13: E266 too many leading '#' for block comment
740:13: E266 too many leading '#' for block comment
747:13: E301 expected 1 blank line, found 0
747: D400 First line should end with '.', not 'I'
749:63: E231 missing whitespace after ','
756: D290 White spaces around docstring should be trimmed.
765: D400 First line should end with '.', not 'e'
770:55: E202 whitespace before '}'
811:1: E302 expected 2 blank lines, found 1
811: D209 Put multi-line docstring closing quotes on separate line
811: D400 First line should end with '.', not 'g'
811: D205 Blank line missing between one-line summary and description
816:84: E203 whitespace before ':'
827:17: E128 continuation line under-indented for visual indent
867:45: E128 continuation line under-indented for visual indent
872:9: B901 blind except: statement
903:12: E127 continuation line over-indented for visual indent
935:1: E302 expected 2 blank lines, found 1
935: D400 First line should end with '.', not 'e'
935: D205 Blank line missing between one-line summary and description
955:59: E502 the backslash is redundant between brackets
956:32: F812 list comprehension redefines 'doi' from line 935
964:74: E502 the backslash is redundant between brackets
980:27: F841 local variable 'e' is assigned to but never used
993:1: E302 expected 2 blank lines, found 1
993: D203 Expected 1 blank line *before* class docstring, found 0
996: D202 No blank lines allowed *after* method docstring, found 1
1005:38: E231 missing whitespace after ':'
1014:94: E203 whitespace before ':'
1016:29: E127 continuation line over-indented for visual indent
1016:75: E203 whitespace before ':'
1016:99: E203 whitespace before ':'
1019:60: E502 the backslash is redundant between brackets
1020:25: E128 continuation line under-indented for visual indent
1020:40: E502 the backslash is redundant between brackets
1021:25: E128 continuation line under-indented for visual indent
1042:29: F841 local variable 'e' is assigned to but never used
1061:59: E127 continuation line over-indented for visual indent
1062:59: E127 continuation line over-indented for visual indent
1063:59: E127 continuation line over-indented for visual indent
1064:59: E127 continuation line over-indented for visual indent
1065:59: E127 continuation line over-indented for visual indent
1066:59: E127 continuation line over-indented for visual indent
1067:59: E127 continuation line over-indented for visual indent
1068:59: E127 continuation line over-indented for visual indent
1081:13: E122 continuation line missing indentation or outdented
1126: D290 White spaces around docstring should be trimmed.
1126: D203 Expected 1 blank line *before* class docstring, found 0
1126: D400 First line should end with '.', not 't'
1131: D102 Docstring missing
1140: D102 Docstring missing
1150:17: E128 continuation line under-indented for visual indent
1180:86: E203 whitespace before ':'
1182:21: E127 continuation line over-indented for visual indent
1182:67: E203 whitespace before ':'
1182:91: E203 whitespace before ':'
1185:52: E502 the backslash is redundant between brackets
1186:17: E128 continuation line under-indented for visual indent
1186:32: E502 the backslash is redundant between brackets
1187:17: E128 continuation line under-indented for visual indent


1:1: E266 too many leading '#' for block comment
1: D200 One-line docstring should not occupy 3 lines
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
24:1: I100 Imports statements are in the wrong order. import fcntl should be before import os
26:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_URL
27:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
29:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, page_not_authorized
30:1: I100 Imports statements are in the wrong order. from invenio.legacy.webstyle.webdoc should be before from invenio.legacy.webuser
31:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
31:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.webstyle.webdoc
36:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.utils.json
45:72: E261 at least two spaces before inline comment
45:73: E262 inline comment should start with '# '
53: D203 Expected 1 blank line *before* class docstring, found 0
62: D401 First line should be imperative: 'Thi', not 'This'
94: D290 White spaces around docstring should be trimmed.
94: D400 First line should end with '.', not 'e'
149: D401 First line should be imperative: 'Handle', not 'Handles'
149: D290 White spaces around docstring should be trimmed.
149: D400 First line should end with '.', not 'n'
149: D205 Blank line missing between one-line summary and description
174: D202 No blank lines allowed *after* function docstring, found 1
208:21: E128 continuation line under-indented for visual indent
229:1: E266 too many leading '#' for block comment
231: D290 White spaces around docstring should be trimmed.
231: D400 First line should end with '.', not 'r'
283: D401 First line should be imperative: 'Handle', not 'Handles'
283: D290 White spaces around docstring should be trimmed.
283: D209 Put multi-line docstring closing quotes on separate line
283: D400 First line should end with '.', not 'd'
283: D205 Blank line missing between one-line summary and description
302: D401 First line should be imperative: 'Handle', not 'Handles'
302: D290 White spaces around docstring should be trimmed.
302: D400 First line should end with '.', not 't'
302: D208 Docstring is over-indented
335: D401 First line should be imperative: 'Check', not 'Checks'
335: D290 White spaces around docstring should be trimmed.
335: D400 First line should end with '.', not 'y'


haha, famous bug


Well not exacly, FALSE=OFF=0=NO="" but I will do it for consistency


No, I only want to make the change after the user has selected the filesystem. If it happens in populate it won't be forced to the right label when update it hit. populate picks up the change when it is made, so everything looks right.


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing


1: L101 copyright is missing


I chose not to make it a case class because I want to use and think of the corrections as a function:

````scala
MergePlan => Unmergeable \/ MergePlan
````

So the public API is just the `apply` method and I don't want to override `equals`, `hashCode`, or make copies in this case.

`ValidityCorrection` is intended to be created with the `apply` method on the companion object that takes a `MergeContext` but I made this constructor available to facilitate testing.


24: L101 copyright is missing


1: D200 One-line docstring should not occupy 3 lines
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
25:1: I101 Imported names are in the wrong order. Should be UnknownTokenizer, get_values_recursively, list_union
28:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_config should be before from invenio.legacy.bibindex.engine_utils
30:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.dbquery
33:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthority.engine should be before from invenio.legacy.search_engine.utils
34:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthority.config should be before from invenio.legacy.bibauthority.engine
38:1: E302 expected 2 blank lines, found 1
38: D203 Expected 1 blank line *before* class docstring, found 0
38: D204 Expected 1 blank line *after* class docstring, found 0
38: D400 First line should end with '.', not 'm'
38: D205 Blank line missing between one-line summary and description
48: D102 Docstring missing
49:24: E127 continuation line over-indented for visual indent
50:24: E127 continuation line over-indented for visual indent
51:24: E127 continuation line over-indented for visual indent
52:24: E127 continuation line over-indented for visual indent
64:76: E502 the backslash is redundant between brackets
65:37: E127 continuation line over-indented for visual indent
67: D401 First line should be imperative: 'Add', not 'Adds'
67: D200 One-line docstring should not occupy 3 lines
73: D401 First line should be imperative: 'Find', not 'Finds'
73: D205 Blank line missing between one-line summary and description
82: D401 First line should be imperative: 'Collect', not 'Collects'
82: D205 Blank line missing between one-line summary and description
92:20: E713 test for membership should be 'not in'
97: D401 First line should be imperative: 'Calculate', not 'Calculates'
97: D205 Blank line missing between one-line summary and description
105:16: E713 test for membership should be 'not in'
110: D401 First line should be imperative: 'Collect', not 'Collects'
110: D205 Blank line missing between one-line summary and description
121:24: E713 test for membership should be 'not in'
127: D401 First line should be imperative: 'Get', not 'Gets'
127: D400 First line should end with '.', not 'n'
127: D205 Blank line missing between one-line summary and description
143:13: E266 too many leading '#' for block comment
144:13: E266 too many leading '#' for block comment
166: D203 Expected 1 blank line *before* class docstring, found 0
166: D205 Blank line missing between one-line summary and description
166: D208 Docstring is over-indented
172: D102 Docstring missing
173:24: E127 continuation line over-indented for visual indent
174:24: E127 continuation line over-indented for visual indent
175:24: E127 continuation line over-indented for visual indent
176:24: E127 continuation line over-indented for visual indent
186:5: E303 too many blank lines (2)
186: D401 First line should be imperative: 'Collect', not 'Collects'
186: D205 Blank line missing between one-line summary and description


2: L101 copyright is missing


4: L101 copyright is missing


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20:1: E302 expected 2 blank lines, found 1
20: D103 Docstring missing
20: L101 copyright is missing
27:20: W292 no newline at end of file


19: L101 copyright is missing


1: M100 needs more reviewers
1: M101 signature is missing
1: M110 missing component name


20: L101 copyright is missing


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
33:1: I101 Imported names are in the wrong order. Should be find_packages, setup


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
21:1: I100 Imports statements are in the wrong order. from fixture should be before from invenio.config
21:1: I201 Missing newline before sections or imports.
24: D101 Docstring missing
31: D101 Docstring missing
254: D101 Docstring missing
1601: D101 Docstring missing
1865: D101 Docstring missing


1: D200 One-line docstring should not occupy 3 lines
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
28:1: I201 Missing newline before sections or imports.
29:1: I201 Missing newline before sections or imports.
29:1: F401 'iteritems' imported but unused
30:1: I100 Imports statements are in the wrong order. from operator should be before from six
30:1: I201 Missing newline before sections or imports.
31:1: I201 Missing newline before sections or imports.
37:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from sqlalchemy.orm.collections
56:9: B901 blind except: statement
158: D203 Expected 1 blank line *before* class docstring, found 0
161: D102 Docstring missing
166:17: E128 continuation line under-indented for visual indent
168:17: E128 continuation line under-indented for visual indent
170:17: E128 continuation line under-indented for visual indent
172:17: E128 continuation line under-indented for visual indent
175:38: E128 continuation line under-indented for visual indent
177:17: E128 continuation line under-indented for visual indent
178:17: E128 continuation line under-indented for visual indent
179:17: E128 continuation line under-indented for visual indent
182:17: 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
195: D102 Docstring missing
209: D102 Docstring missing
213: D102 Docstring missing
222:10: B901 blind except: statement
227: D102 Docstring missing
235: D102 Docstring missing
244: D102 Docstring missing
249: D102 Docstring missing
252:13: E125 continuation line with same indent as next logical line
258:13: E128 continuation line under-indented for visual indent
259:13: E128 continuation line under-indented for visual indent
260:13: E128 continuation line under-indented for visual indent
261:13: E128 continuation line under-indented for visual indent
262:13: E128 continuation line under-indented for visual indent
264:13: E128 continuation line under-indented for visual indent
265: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
282:13: E128 continuation line under-indented for visual indent
283:13: E128 continuation line under-indented for visual indent
284:13: E128 continuation line under-indented for visual indent
287:9: E128 continuation line under-indented for visual indent
289:9: E128 continuation line under-indented for visual indent
293:1: E128 continuation line under-indented for visual indent
294:13: E128 continuation line under-indented for visual indent
312:13: E128 continuation line under-indented for visual indent
313:13: E128 continuation line under-indented for visual indent
314:13: E128 continuation line under-indented for visual indent
317:5: E731 do not assign a lambda expression, use a def
318:13: E126 continuation line over-indented for hanging indent
329: D200 One-line docstring should not occupy 3 lines
337:17: E128 continuation line under-indented for visual indent
343: D102 Docstring missing
372:13: E126 continuation line over-indented for hanging indent
382:21: E128 continuation line under-indented for visual indent
383:9: B901 blind except: statement
387:5: E303 too many blank lines (2)
411:9: B901 blind except: statement
417:13: B901 blind except: statement
428:5: E303 too many blank lines (2)
429:13: E126 continuation line over-indented for hanging indent
433:17: E131 continuation line unaligned for hanging indent
450: D401 First line should be imperative: 'Retund', not 'Retunds'
471:1: E303 too many blank lines (3)
471: D203 Expected 1 blank line *before* class docstring, found 0
471: D204 Expected 1 blank line *after* class docstring, found 0
475:17: E128 continuation line under-indented for visual indent
476:13: E128 continuation line under-indented for visual indent
478:17: E128 continuation line under-indented for visual indent
480:17: E128 continuation line under-indented for visual indent
484: D102 Docstring missing
488: D102 Docstring missing
501: D203 Expected 1 blank line *before* class docstring, found 0
501: D204 Expected 1 blank line *after* class docstring, found 0
529: D203 Expected 1 blank line *before* class docstring, found 0
529: D204 Expected 1 blank line *after* class docstring, found 0
533:17: E128 continuation line under-indented for visual indent
534:13: E128 continuation line under-indented for visual indent
536:17: E128 continuation line under-indented for visual indent
538:13: E128 continuation line under-indented for visual indent
541: D203 Expected 1 blank line *before* class docstring, found 0
541: D204 Expected 1 blank line *after* class docstring, found 0
545:17: E128 continuation line under-indented for visual indent
547:17: E128 continuation line under-indented for visual indent
549:17: E128 continuation line under-indented for visual indent
551:17: E128 continuation line under-indented for visual indent
553:17: E128 continuation line under-indented for visual indent
554: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
560: D203 Expected 1 blank line *before* class docstring, found 0
560: D204 Expected 1 blank line *after* class docstring, found 0
564:17: E128 continuation line under-indented for visual indent
569: D203 Expected 1 blank line *before* class docstring, found 0
569: D204 Expected 1 blank line *after* class docstring, found 0
573:17: E128 continuation line under-indented for visual indent
575:17: E128 continuation line under-indented for visual indent
577:17: E128 continuation line under-indented for visual indent
579:17: E128 continuation line under-indented for visual indent
583: D203 Expected 1 blank line *before* class docstring, found 0
583: D204 Expected 1 blank line *after* class docstring, found 0
587:17: E128 continuation line under-indented for visual indent
592: D401 First line should be imperative: 'Return', not 'Returns'
592: D202 No blank lines allowed *after* function docstring, found 1
592: D400 First line should end with '.', not 'x'
605: D203 Expected 1 blank line *before* class docstring, found 0
605: D204 Expected 1 blank line *after* class docstring, found 0
609:17: E128 continuation line under-indented for visual indent
611:17: E128 continuation line under-indented for visual indent
613:17: E128 continuation line under-indented for visual indent
615:17: E128 continuation line under-indented for visual indent
617:17: E128 continuation line under-indented for visual indent
618:13: E128 continuation line under-indented for visual indent
620:17: E128 continuation line under-indented for visual indent
622:17: E128 continuation line under-indented for visual indent
625: D203 Expected 1 blank line *before* class docstring, found 0
625: D204 Expected 1 blank line *after* class docstring, found 0
629:17: E128 continuation line under-indented for visual indent
631:17: E128 continuation line under-indented for visual indent
634: D102 Docstring missing
641: D203 Expected 1 blank line *before* class docstring, found 0
641: D204 Expected 1 blank line *after* class docstring, found 0
645:17: E128 continuation line under-indented for visual indent
646:17: E128 continuation line under-indented for visual indent
647:17: E128 continuation line under-indented for visual indent
649:17: E128 continuation line under-indented for visual indent
650:17: E128 continuation line under-indented for visual indent
651:17: E126 continuation line over-indented for hanging indent
654:17: E128 continuation line under-indented for visual indent
655:18: E128 continuation line under-indented for visual indent
659:13: E128 continuation line under-indented for visual indent
670: D203 Expected 1 blank line *before* class docstring, found 0
670: D204 Expected 1 blank line *after* class docstring, found 0
674:17: E128 continuation line under-indented for visual indent
676:17: E128 continuation line under-indented for visual indent
678:17: E128 continuation line under-indented for visual indent
680:17: E128 continuation line under-indented for visual indent
682:17: E128 continuation line under-indented for visual indent
685: D203 Expected 1 blank line *before* class docstring, found 0
688: D102 Docstring missing
693:17: E128 continuation line under-indented for visual indent
696:17: E128 continuation line under-indented for visual indent
704: D102 Docstring missing
711:10: B901 blind except: statement
715: D203 Expected 1 blank line *before* class docstring, found 0
715: D204 Expected 1 blank line *after* class docstring, found 0
717: D102 Docstring missing
721:17: E128 continuation line under-indented for visual indent
722:17: E128 continuation line under-indented for visual indent
727: D203 Expected 1 blank line *before* class docstring, found 0
727: D204 Expected 1 blank line *after* class docstring, found 0
738: D203 Expected 1 blank line *before* class docstring, found 0
738: D204 Expected 1 blank line *after* class docstring, found 0
746: D102 Docstring missing
757: D401 First line should be imperative: 'Return', not 'Returns'
762: D203 Expected 1 blank line *before* class docstring, found 0
762: D204 Expected 1 blank line *after* class docstring, found 0
766:17: E128 continuation line under-indented for visual indent
768:17: E128 continuation line under-indented for visual indent
770:17: E128 continuation line under-indented for visual indent
774: D102 Docstring missing
782: D401 First line should be imperative: 'Return', not 'Returns'
782: D290 White spaces around docstring should be trimmed.
787: D203 Expected 1 blank line *before* class docstring, found 0
787: D204 Expected 1 blank line *after* class docstring, found 0
791:17: E128 continuation line under-indented for visual indent
796: D203 Expected 1 blank line *before* class docstring, found 0
796: D204 Expected 1 blank line *after* class docstring, found 0
800:17: E128 continuation line under-indented for visual indent
802:17: E128 continuation line under-indented for visual indent
803:17: E128 continuation line under-indented for visual indent
805:17: E128 continuation line under-indented for visual indent
809: D203 Expected 1 blank line *before* class docstring, found 0
809: D204 Expected 1 blank line *after* class docstring, found 0
813:17: E128 continuation line under-indented for visual indent
815:17: E128 continuation line under-indented for visual indent
817:17: E128 continuation line under-indented for visual indent
819:17: E128 continuation line under-indented for visual indent
821:17: E128 continuation line under-indented for visual indent
823:17: E128 continuation line under-indented for visual indent
826:17: E128 continuation line under-indented for visual indent
828:17: E128 continuation line under-indented for visual indent
830:17: E128 continuation line under-indented for visual indent


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: I201 Missing newline before sections or imports.
28:1: I100 Imports statements are in the wrong order. import dateutil.parser should be before import dictdiffer
28:1: I201 Missing newline before sections or imports.
30:1: I100 Imports statements are in the wrong order. from tempfile should be before import dateutil.parser
31:1: I100 Imports statements are in the wrong order. from functools should be before from tempfile
32:1: I101 Imported names are in the wrong order. Should be abort, current_app, request
32:1: I201 Missing newline before sections or imports.
36:1: I101 Imported names are in the wrong order. Should be Agent, Deposition, DepositionDraftCacheManager
36:1: I100 Imports statements are in the wrong order. from invenio.modules.deposit.models should be before from invenio.modules.records.api
38:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.deposit.models
41:1: I101 Imported names are in the wrong order. Should be deposition_record, make_record, record_to_draft
41:1: I201 Missing newline before sections or imports.
43:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from .helpers


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
21:1: I100 Imports statements are in the wrong order. from flask should be before from flask.ext.login
23:1: I101 Imported names are in the wrong order. Should be Deposition, DepositionType
25:1: I101 Imported names are in the wrong order. Should be create_recid, finalize_record_sip, hold_for_approval, prefill_draft, prepare_sip, process_sip_metadata, render_form, upload_record_sip
25:1: I100 Imports statements are in the wrong order. from invenio.modules.deposit.tasks should be before from invenio.modules.formatter


In any case, the array hash is destroyed together with STPBuilder at the end of KLEE's run so I suspect there should be no difference in performance.


3: L102 copyright year is outdated, expected 2015 but got 2014


HumidifierSizing_#4688 (Nigusse) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (640 of 640 tests passed)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.svg) ![Coverage Badge](http://img.shields.io/badge/coverage%20status-4.22%25-green.svg)


This would keep the handlebars dependency outside the umd wrapper; making modules clash if loaded together. Which is why I'd added it before the wrapper


Actually it sucks that this was removed, because X11 has three different selections:

- primary
- secondary
- clipboard

This function always pasted from the `primary` selection (which was awesome and is the standard behavior of this keybinding when you paste in a terminal emulator) the default behavior though is to paste from the `clipboard` selection (which sucks balls).


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
93:1: E122 continuation line missing indentation or outdented


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
22:1: E402 module level import not at top of file
23:1: E402 module level import not at top of file
25:1: I101 Imported names are in the wrong order. Should be CFG_BIBRANK_SHOW_CITATION_GRAPHS, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS_CLIENT_IP_DISTRIBUTION, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBDIR
25:1: E402 module level import not at top of file
26:5: E128 continuation line under-indented for visual indent
27:5: E128 continuation line under-indented for visual indent
29:1: E266 too many leading '#' for block comment
38:1: E302 expected 2 blank lines, found 1
38: D400 First line should end with '.', not 'r'
38: D205 Blank line missing between one-line summary and description
70:1: E302 expected 2 blank lines, found 1
70: D209 Put multi-line docstring closing quotes on separate line
70: D400 First line should end with '.', not 'h'
70: D205 Blank line missing between one-line summary and description
97:9: E129 visually indented line with same indent as next logical line
112:9: E129 visually indented line with same indent as next logical line
141:1: E302 expected 2 blank lines, found 1
141: D103 Docstring missing
154:25: E225 missing whitespace around operator
158:19: E251 unexpected spaces around keyword / parameter equals
158:21: E251 unexpected spaces around keyword / parameter equals
162:23: E251 unexpected spaces around keyword / parameter equals
162:25: E251 unexpected spaces around keyword / parameter equals
174:30: E203 whitespace before ':'
177:32: E225 missing whitespace around operator
182:13: E203 whitespace before ':'
187:30: E225 missing whitespace around operator
192:30: E225 missing whitespace around operator
197:34: E225 missing whitespace around operator
198:67: E203 whitespace before ','
199:21: E203 whitespace before ':'
200:67: E203 whitespace before ','
201:30: E225 missing whitespace around operator
223:32: E225 missing whitespace around operator
224:85: E221 multiple spaces before operator
228:1: E302 expected 2 blank lines, found 1
228: D103 Docstring missing
248:16: E203 whitespace before ':'
248:40: E203 whitespace before ':'
254:30: E203 whitespace before ':'
256:13: E122 continuation line missing indentation or outdented
263:15: E225 missing whitespace around operator
264:26: E225 missing whitespace around operator
314:33: E128 continuation line under-indented for visual indent
363:27: E203 whitespace before ':'
363:46: E203 whitespace before ':'
363:62: E203 whitespace before ':'
363:78: E203 whitespace before ':'
363:15: E225 missing whitespace around operator
425:36: E203 whitespace before ':'
428:61: E225 missing whitespace around operator
433:1: E302 expected 2 blank lines, found 1
433: D209 Put multi-line docstring closing quotes on separate line
433: D202 No blank lines allowed *after* function docstring, found 1
433: D400 First line should end with '.', not 'e'
433: D205 Blank line missing between one-line summary and description
438:49: E127 continuation line over-indented for visual indent
442: D209 Put multi-line docstring closing quotes on separate line
442: D400 First line should end with '.', not 's'
442: D205 Blank line missing between one-line summary and description
442: D208 Docstring is over-indented
458:95: E221 multiple spaces before operator
460:92: E221 multiple spaces before operator


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
21:1: I201 Missing newline before sections or imports.
21:1: F401 'CollectionData' imported but unused
24: D101 Docstring missing
32: D101 Docstring missing
37:26: E261 at least two spaces before inline comment
37:27: E262 inline comment should start with '# '


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
26:1: I100 Imports statements are in the wrong order. import shutil should be before import sys
27:1: I100 Imports statements are in the wrong order. import datetime should be before import shutil
30:1: I201 Missing newline before sections or imports.
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.ext.script should be before from six
32:1: I201 Missing newline before sections or imports.
54:5: E266 too many leading '#' for block comment
60:5: E266 too many leading '#' for block comment
107:5: E266 too many leading '#' for block comment
112:5: E266 too many leading '#' for block comment
116:5: E266 too many leading '#' for block comment
120:5: E266 too many leading '#' for block comment
125:5: B901 blind except: statement
128:5: E266 too many leading '#' for block comment
157:9: B901 blind except: statement
213:9: B901 blind except: statement
346: D290 White spaces around docstring should be trimmed.
351:5: B901 blind except: statement
359: D290 White spaces around docstring should be trimmed.
365:5: B901 blind except: statement


1:1: E266 too many leading '#' for block comment
1: D100 Docstring missing
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
23:1: I101 Imported names are in the wrong order. Should be cPickle, calendar, cgi, commands, datetime, os, random, time
23:16: E401 multiple imports on one line
23:1: E402 module level import not at top of file
24:1: E402 module level import not at top of file
25:1: I101 Imported names are in the wrong order. Should be CFG_BIBCIRCULATION_ILL_STATUS_CANCELLED, CFG_BIBCIRCULATION_ITEM_STATUS_CANCELLED, CFG_BIBCIRCULATION_ITEM_STATUS_CLAIMED, CFG_BIBCIRCULATION_ITEM_STATUS_IN_PROCESS, CFG_BIBCIRCULATION_ITEM_STATUS_NOT_ARRIVED, CFG_BIBCIRCULATION_ITEM_STATUS_ON_LOAN, CFG_BIBCIRCULATION_ITEM_STATUS_ON_ORDER, CFG_BIBCIRCULATION_ITEM_STATUS_ON_SHELF, CFG_BIBCIRCULATION_ITEM_STATUS_OPTIONAL, CFG_BIBCIRCULATION_REQUEST_STATUS_DONE, CFG_BINDIR, CFG_CERN_SITE, CFG_SITE_NAME, CFG_SITE_URL, CFG_TMPDIR
25:1: I201 Missing newline before sections or imports.
25:1: E402 module level import not at top of file
40:1: E402 module level import not at top of file
41:1: E402 module level import not at top of file
42:1: I101 Imported names are in the wrong order. Should be get_collection_reclist, get_most_popular_field_values, perform_request_search, search_pattern
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.utils.url
42:1: E402 module level import not at top of file
46:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
46:1: E402 module level import not at top of file
47:1: E402 module level import not at top of file
49:1: E402 module level import not at top of file
50:1: I101 Imported names are in the wrong order. Should be book_information_from_MARC, book_title_from_MARC
50:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.utils should be before from invenio.legacy.websubmit.admin_dblayer
50:1: E402 module level import not at top of file
52:1: I101 Imported names are in the wrong order. Should be get_borrower_data, get_id_bibrec
52:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.db_layer should be before from invenio.legacy.bibcirculation.utils
52:1: E402 module level import not at top of file
54:1: E402 module level import not at top of file
55:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_dategui, convert_datetext_to_datestruct
55:1: E402 module level import not at top of file
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.utils.date
56:1: E402 module level import not at top of file
59:38: E261 at least two spaces before inline comment
64:1: E302 expected 2 blank lines, found 1
64: D401 First line should be imperative: 'Return', not 'Returns'
64: D400 First line should end with '.', not 'r'
64: D205 Blank line missing between one-line summary and description
88:25: E128 continuation line under-indented for visual indent
92:29: E128 continuation line under-indented for visual indent
92:61: E251 unexpected spaces around keyword / parameter equals
93:29: E128 continuation line under-indented for visual indent
94:29: E128 continuation line under-indented for visual indent
105:27: E128 continuation line under-indented for visual indent
108: D401 First line should be imperative: 'Return', not 'Returns'
108: D202 No blank lines allowed *after* function docstring, found 1
130:29: E128 continuation line under-indented for visual indent
131:29: E128 continuation line under-indented for visual indent
145: D290 White spaces around docstring should be trimmed.
145: D209 Put multi-line docstring closing quotes on separate line
145: D400 First line should end with '.', not 's'
145: D205 Blank line missing between one-line summary and description
154:29: E128 continuation line under-indented for visual indent
155:29: E126 continuation line over-indented for hanging indent
161:27: E128 continuation line under-indented for visual indent
164: D401 First line should be imperative: 'Return', not 'Returns'
164: D202 No blank lines allowed *after* function docstring, found 1
164: D400 First line should end with '.', not 't'
164: D205 Blank line missing between one-line summary and description
183:17: E128 continuation line under-indented for visual indent
184:29: E128 continuation line under-indented for visual indent
187: D401 First line should be imperative: 'Return', not 'Returns'
187: D400 First line should end with '.', not 't'
187: D205 Blank line missing between one-line summary and description
209:13: E128 continuation line under-indented for visual indent
212:13: E128 continuation line under-indented for visual indent
212:44: E251 unexpected spaces around keyword / parameter equals
213:13: E128 continuation line under-indented for visual indent
217: D401 First line should be imperative: 'Return', not 'Returns'
217: D400 First line should end with '.', not 'n'
217: D205 Blank line missing between one-line summary and description
237:21: E128 continuation line under-indented for visual indent
238:21: E128 continuation line under-indented for visual indent
242:21: E128 continuation line under-indented for visual indent
243:21: E128 continuation line under-indented for visual indent
247:25: E128 continuation line under-indented for visual indent
249:25: E128 continuation line under-indented for visual indent
258: D401 First line should be imperative: 'Return', not 'Returns'
258: D400 First line should end with '.', not 't'
258: D205 Blank line missing between one-line summary and description
281:17: E128 continuation line under-indented for visual indent
301:27: E128 continuation line under-indented for visual indent
304: D401 First line should be imperative: 'Return', not 'Returns'
304: D400 First line should end with '.', not 't'
304: D205 Blank line missing between one-line summary and description
322:13: E128 continuation line under-indented for visual indent
325: D401 First line should be imperative: 'Return', not 'Returns'
325: D400 First line should end with '.', not 'r'
325: D205 Blank line missing between one-line summary and description
347:17: E128 continuation line under-indented for visual indent
351:17: E128 continuation line under-indented for visual indent
358: D400 First line should end with '.', not ':'
358: D205 Blank line missing between one-line summary and description
429:37: E126 continuation line over-indented for hanging indent
430:10: E261 at least two spaces before inline comment
467: D400 First line should end with '.', not ':'
467: D205 Blank line missing between one-line summary and description
576:62: E502 the backslash is redundant between brackets
577:23: E128 continuation line under-indented for visual indent
588:13: E128 continuation line under-indented for visual indent
589:13: E128 continuation line under-indented for visual indent
590:13: E128 continuation line under-indented for visual indent
591:13: E128 continuation line under-indented for visual indent
597:13: E128 continuation line under-indented for visual indent
598:13: E128 continuation line under-indented for visual indent
599:13: E128 continuation line under-indented for visual indent
600:13: E128 continuation line under-indented for visual indent
601:13: E128 continuation line under-indented for visual indent
606: D400 First line should end with '.', not ':'
606: D205 Blank line missing between one-line summary and description
674: D400 First line should end with '.', not ':'
674: D205 Blank line missing between one-line summary and description
700: D401 First line should be imperative: 'Return', not 'Returns'
700: D400 First line should end with '.', not 's'
718:17: E128 continuation line under-indented for visual indent
720:17: E128 continuation line under-indented for visual indent
724:17: E128 continuation line under-indented for visual indent
725:17: E128 continuation line under-indented for visual indent
729:25: E128 continuation line under-indented for visual indent
731:25: E128 continuation line under-indented for visual indent
740: D400 First line should end with '.', not ':'
740: D205 Blank line missing between one-line summary and description
838: D400 First line should end with '.', not ':'
838: D205 Blank line missing between one-line summary and description
867:21: E127 continuation line over-indented for visual indent
898: D401 First line should be imperative: 'Return', not 'Returns'
898: D400 First line should end with '.', not 't'
898: D205 Blank line missing between one-line summary and description
944:19: E128 continuation line under-indented for visual indent
949:19: E128 continuation line under-indented for visual indent
949:66: E225 missing whitespace around operator
953:25: E128 continuation line under-indented for visual indent
955:25: E128 continuation line under-indented for visual indent
964: D400 First line should end with '.', not ':'
964: D205 Blank line missing between one-line summary and description
1015: D202 No blank lines allowed *after* function docstring, found 1
1015: D400 First line should end with '.', not ':'
1015: D205 Blank line missing between one-line summary and description
1080: D400 First line should end with '.', not ':'
1080: D205 Blank line missing between one-line summary and description
1123:57: E128 continuation line under-indented for visual indent
1138:9: E128 continuation line under-indented for visual indent
1141: D400 First line should end with '.', not ':'
1141: D205 Blank line missing between one-line summary and description
1200: D400 First line should end with '.', not ':'
1200: D205 Blank line missing between one-line summary and description
1236: D400 First line should end with '.', not ':'
1236: D205 Blank line missing between one-line summary and description
1282:1: E302 expected 2 blank lines, found 1
1343: D400 First line should end with '.', not 'n'
1343: D205 Blank line missing between one-line summary and description
1355:10: E261 at least two spaces before inline comment
1355:11: E262 inline comment should start with '# '
1377:83: E502 the backslash is redundant between brackets
1377:82: E211 whitespace before '('
1378:21: E128 continuation line under-indented for visual indent
1380:82: E502 the backslash is redundant between brackets
1380:81: E211 whitespace before '('
1381:21: E128 continuation line under-indented for visual indent
1383:82: E502 the backslash is redundant between brackets
1383:81: E211 whitespace before '('
1384:21: E128 continuation line under-indented for visual indent
1387:82: E502 the backslash is redundant between brackets
1387:81: E211 whitespace before '('
1388:21: E128 continuation line under-indented for visual indent
1395:1: E302 expected 2 blank lines, found 1
1395: D401 First line should be imperative: 'Build', not 'Builds'
1395: D400 First line should end with '.', not 'r'
1395: D205 Blank line missing between one-line summary and description
1447:1: E302 expected 2 blank lines, found 1
1447: D205 Blank line missing between one-line summary and description
1457:13: E127 continuation line over-indented for visual indent
1460:1: E302 expected 2 blank lines, found 1
1460: D401 First line should be imperative: 'Fetche', not 'Fetches'
1460: D400 First line should end with '.', not 't'
1460: D205 Blank line missing between one-line summary and description
1472:15: E711 comparison to None should be 'if cond is None:'
1472:15: E225 missing whitespace around operator
1472:32: E225 missing whitespace around operator
1476:5: B901 blind except: statement
1494:1: E302 expected 2 blank lines, found 1
1494: D401 First line should be imperative: 'Return', not 'Returns'
1494: D205 Blank line missing between one-line summary and description
1511:73: E502 the backslash is redundant between brackets
1512:25: E127 continuation line over-indented for visual indent
1516:77: E502 the backslash is redundant between brackets
1517:25: E127 continuation line over-indented for visual indent
1527:1: E302 expected 2 blank lines, found 1
1527: D401 First line should be imperative: 'Return', not 'Returns'
1527: D400 First line should end with '.', not 'n'
1527: D205 Blank line missing between one-line summary and description
1561:33: E128 continuation line under-indented for visual indent
1562:28: E211 whitespace before '('
1568:33: E128 continuation line under-indented for visual indent
1569:28: E211 whitespace before '('
1577:28: E211 whitespace before '('
1586:33: E128 continuation line under-indented for visual indent
1591:77: E502 the backslash is redundant between brackets
1591:76: E211 whitespace before '('
1592:21: E128 continuation line under-indented for visual indent
1594:1: E302 expected 2 blank lines, found 1
1594: D400 First line should end with '.', not 't'
1594: D205 Blank line missing between one-line summary and description
1607:13: E127 continuation line over-indented for visual indent
1609:1: E302 expected 2 blank lines, found 1
1609:33: E211 whitespace before '('
1609: D401 First line should be imperative: 'Return', not 'Returns'
1609: D205 Blank line missing between one-line summary and description
1618:73: E502 the backslash is redundant between brackets
1618:72: E211 whitespace before '('
1619:21: E128 continuation line under-indented for visual indent
1622:1: E302 expected 2 blank lines, found 1
1622: D401 First line should be imperative: 'Return', not 'Returns'
1622: D400 First line should end with '.', not 'r'
1622: D205 Blank line missing between one-line summary and description
1636:1: E303 too many blank lines (3)
1638:1: E302 expected 2 blank lines, found 3
1638: D401 First line should be imperative: 'Create', not 'Creates'
1638: D400 First line should end with '.', not 's'
1643: D401 First line should be imperative: 'Return', not 'Returns'
1643: D290 White spaces around docstring should be trimmed.
1643: D400 First line should end with '.', not 'g'
1648: D401 First line should be imperative: 'Return', not 'Returns'
1648: D400 First line should end with '.', not ')'
1653: D401 First line should be imperative: 'Return', not 'Returns'
1659: D401 First line should be imperative: 'Return', not 'Returns'
1659: D290 White spaces around docstring should be trimmed.
1659: D400 First line should end with '.', not 'g'
1665:1: E302 expected 2 blank lines, found 1
1665: D401 First line should be imperative: 'Return', not 'Returns'
1665: D400 First line should end with '.', not 'n'
1665: D205 Blank line missing between one-line summary and description
1698:12: E713 test for membership should be 'not in'
1705:34: E127 continuation line over-indented for visual indent
1708:34: E127 continuation line over-indented for visual indent
1711:34: E127 continuation line over-indented for visual indent
1724: D400 First line should end with '.', not 'y'
1724: D205 Blank line missing between one-line summary and description
1757:26: E127 continuation line over-indented for visual indent
1762:114: E261 at least two spaces before inline comment
1766:16: E713 test for membership should be 'not in'
1770:49: E502 the backslash is redundant between brackets
1771:42: E127 continuation line over-indented for visual indent
1773:48: E502 the backslash is redundant between brackets
1774:42: E127 continuation line over-indented for visual indent
1776:53: E502 the backslash is redundant between brackets
1777:42: E127 continuation line over-indented for visual indent
1791:21: E126 continuation line over-indented for hanging indent
1810: D400 First line should end with '.', not 'g'
1810: D205 Blank line missing between one-line summary and description
1824: D400 First line should end with '.', not 'g'
1824: D205 Blank line missing between one-line summary and description
1841:1: E302 expected 2 blank lines, found 1
1841: D401 First line should be imperative: 'Return', not 'Returns'
1841: D202 No blank lines allowed *after* function docstring, found 1
1841: D400 First line should end with '.', not 'r'
1884: D401 First line should be imperative: 'Create', not 'Creates'
1884: D400 First line should end with '.', not 'd'
1884: D205 Blank line missing between one-line summary and description
1948:1: E302 expected 2 blank lines, found 1
1948: D401 First line should be imperative: 'Create', not 'Creates'
1976: D401 First line should be imperative: 'Create', not 'Creates'
1976: D400 First line should end with '.', not 't'
1987:21: E128 continuation line under-indented for visual indent
1995:21: E126 continuation line over-indented for hanging indent
2034:37: E128 continuation line under-indented for visual indent
2043: D401 First line should be imperative: 'Create', not 'Creates'
2043: D400 First line should end with '.', not 'y'
2091:35: E127 continuation line over-indented for visual indent
2115: D401 First line should be imperative: 'Create', not 'Creates'
2115: D400 First line should end with '.', not 'y'
2141:25: E128 continuation line under-indented for visual indent
2166:21: E128 continuation line under-indented for visual indent
2166:60: E225 missing whitespace around operator
2167:21: E126 continuation line over-indented for hanging indent
2205:18: E222 multiple spaces after operator
2223:9: E116 unexpected indentation (comment)
2241:9: E116 unexpected indentation (comment)
2305:62: E203 whitespace before ':'
2309: D401 First line should be imperative: 'Return', not 'Returns'
2309: D290 White spaces around docstring should be trimmed.
2309: D400 First line should end with '.', not 'a'
2324: D401 First line should be imperative: 'Create', not 'Creates'
2361: D401 First line should be imperative: 'Create', not 'Creates'
2384:46: E502 the backslash is redundant between brackets
2385:21: E128 continuation line under-indented for visual indent
2411:1: E302 expected 2 blank lines, found 1
2411: D401 First line should be imperative: 'Return', not 'Returns'
2411: D400 First line should end with '.', not 'y'
2417: D401 First line should be imperative: 'Return', not 'Returns'
2417: D400 First line should end with '.', not 'y'
2429: D401 First line should be imperative: 'Return', not 'Returns'
2429: D400 First line should end with '.', not 'y'
2437:14: E128 continuation line under-indented for visual indent
2442: D401 First line should be imperative: 'Return', not 'Returns'
2442: D400 First line should end with '.', not 'y'
2447: D401 First line should be imperative: 'Return', not 'Returns'
2447: D400 First line should end with '.', not 'y'
2452: D401 First line should be imperative: 'Return', not 'Returns'
2452: D400 First line should end with '.', not 'y'
2457: D401 First line should be imperative: 'Return', not 'Returns'
2457: D400 First line should end with '.', not 'y'
2464: D401 First line should be imperative: 'Return', not 'Returns'
2464: D400 First line should end with '.', not 'y'
2472: D401 First line should be imperative: 'Return', not 'Returns'
2472: D400 First line should end with '.', not 'y'
2480: D401 First line should be imperative: 'Return', not 'Returns'
2480: D400 First line should end with '.', not 'y'
2488: D401 First line should be imperative: 'Return', not 'Returns'
2488: D400 First line should end with '.', not 's'
2492:10: E128 continuation line under-indented for visual indent
2496:1: E302 expected 2 blank lines, found 1
2496: D401 First line should be imperative: 'Export', not 'Exports'
2509: D401 First line should be imperative: 'Export', not 'Exports'
2519:66: E502 the backslash is redundant between brackets
2520:18: E128 continuation line under-indented for visual indent
2524: D401 First line should be imperative: 'Export', not 'Exports'
2544:68: E502 the backslash is redundant between brackets
2554:1: E302 expected 2 blank lines, found 1
2554: D400 First line should end with '.', not 'a'
2554: D205 Blank line missing between one-line summary and description
2563:64: E502 the backslash is redundant between brackets
2564:25: E127 continuation line over-indented for visual indent
2567: D400 First line should end with '.', not ','
2567: D205 Blank line missing between one-line summary and description
2622:13: E128 continuation line under-indented for visual indent
2623:13: E128 continuation line under-indented for visual indent
2624:13: E128 continuation line under-indented for visual indent
2625:13: E128 continuation line under-indented for visual indent
2626:13: E128 continuation line under-indented for visual indent
2627:13: E124 closing bracket does not match visual indentation
2627:13: E125 continuation line with same indent as next logical line
2643:13: E125 continuation line with same indent as next logical line
2649: D401 First line should be imperative: 'Return', not 'Returns'
2675:27: E128 continuation line under-indented for visual indent
2678: D401 First line should be imperative: 'Return', not 'Returns'
2678: D400 First line should end with '.', not ','
2678: D205 Blank line missing between one-line summary and description
2722:1: E302 expected 2 blank lines, found 1
2722: D401 First line should be imperative: 'Transform', not 'Transforms'
2722: D400 First line should end with '.', not 'e'
2722: D200 One-line docstring should not occupy 3 lines
2729: D401 First line should be imperative: 'Run', not 'Runs'
2729: D400 First line should end with '.', not 's'
2729: D205 Blank line missing between one-line summary and description
2743: D401 First line should be imperative: 'Return', not 'Returns'
2743: D400 First line should end with '.', not 'n'
2751: D401 First line should be imperative: 'Return', not 'Returns'
2751: D400 First line should end with '.', not 'm'
2760:13: E127 continuation line over-indented for visual indent
2763: D401 First line should be imperative: 'Return', not 'Returns'
2763: D400 First line should end with '.', not 'm'
2767:9: E125 continuation line with same indent as next logical line
2772: D401 First line should be imperative: 'Return', not 'Returns'
2772: D400 First line should end with '.', not 't'
2780: D401 First line should be imperative: 'Return', not 'Returns'
2780: D400 First line should end with '.', not 's'
2784:33: E713 test for membership should be 'not in'
2784:54: E261 at least two spaces before inline comment
2789: D401 First line should be imperative: 'Return', not 'Returns'
2789: D400 First line should end with '.', not 'm'
2797: D400 First line should end with '.', not 'e'
2797: D200 One-line docstring should not occupy 3 lines
2809:1: E302 expected 2 blank lines, found 1
2815:1: E302 expected 2 blank lines, found 1
2820:1: E302 expected 2 blank lines, found 1
2827:1: E302 expected 2 blank lines, found 1
2833:1: E302 expected 2 blank lines, found 1
2846:1: E302 expected 2 blank lines, found 1
2851:37: E128 continuation line under-indented for visual indent
2853:10: E128 continuation line under-indented for visual indent
2854:10: E128 continuation line under-indented for visual indent
2855:10: E128 continuation line under-indented for visual indent
2856:10: E128 continuation line under-indented for visual indent
2857:10: E128 continuation line under-indented for visual indent
2858:10: E128 continuation line under-indented for visual indent


1: M111 unrecognized component name: babel


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
24:1: I100 Imports statements are in the wrong order. from babel should be before import pkg_resources
25:1: I100 Imports statements are in the wrong order. from contextlib should be before from babel
25:1: I201 Missing newline before sections or imports.
26:1: I101 Imported names are in the wrong order. Should be _request_ctx_stack, current_app, g
26:1: I201 Missing newline before sections or imports.
30:1: I201 Missing newline before sections or imports.
81:5: E266 too many leading '#' for block comment


Doc for `outline_index`


1: M111 unrecognized component name: mixer


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: I201 Missing newline before sections or imports.
27:1: F401 'six' imported but unused
28:1: I100 Imports statements are in the wrong order. import sys should be before import six
28:1: I201 Missing newline before sections or imports.
30:1: F401 'current_app' imported but unused
31:1: I201 Missing newline before sections or imports.
33:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from mixer.backend.flask
37:1: E302 expected 2 blank lines, found 1
37: D290 White spaces around docstring should be trimmed.
62:31: F821 undefined name 'errno'
112: D102 Docstring missing
134: D290 White spaces around docstring should be trimmed.
138: D102 Docstring missing


Could not evaluate contents of __all__. That means pep257 cannot decide which definitions are public. Variable __all__ should be present at most once in each file, in form `__all__ = ('a_public_function', 'APublicClass', ...)`. More info on __all__: http://stackoverflow.com/q/44834/.
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing


30411/Fericean G. George Vlad/assignment1/main.c

This if branch can be removed. How?


`self.db` is, not `db` @PierreSelim


same as above


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
25:1: I101 Imported names are in the wrong order. Should be Form, SubmitField
25:1: I100 Imports statements are in the wrong order. from wtforms should be before from ..hp_field_widgets
26:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from wtforms
26:1: I201 Missing newline before sections or imports.


2:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
24:1: I100 Imports statements are in the wrong order. import base64 should be before import tempfile
26:1: I201 Missing newline before sections or imports.
27:1: I101 Imported names are in the wrong order. Should be callable, iteritems, string_types
27:1: I100 Imports statements are in the wrong order. from six should be before from six.moves
28:1: I100 Imports statements are in the wrong order. from datetime should be before from six
28:1: I201 Missing newline before sections or imports.
29:1: I201 Missing newline before sections or imports.
31:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy.orm.exc
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.ext.sqlalchemy
34:1: I101 Imported names are in the wrong order. Should be WorkflowsTaskResult, redis_create_search_entry, session_manager
36:1: I101 Imported names are in the wrong order. Should be BibWorkflowLogHandler, get_logger
36:1: I100 Imports statements are in the wrong order. from .logger should be before from .utils
99: D290 White spaces around docstring should be trimmed.
106: D290 White spaces around docstring should be trimmed.
151: D290 White spaces around docstring should be trimmed.
268: D290 White spaces around docstring should be trimmed.
279: D290 White spaces around docstring should be trimmed.
306: D290 White spaces around docstring should be trimmed.
321: D290 White spaces around docstring should be trimmed.
385: D290 White spaces around docstring should be trimmed.
471: D290 White spaces around docstring should be trimmed.
650: D290 White spaces around docstring should be trimmed.
661: D290 White spaces around docstring should be trimmed.
671: D290 White spaces around docstring should be trimmed.
677: D290 White spaces around docstring should be trimmed.
719: D290 White spaces around docstring should be trimmed.
729: D290 White spaces around docstring should be trimmed.


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
23:1: I100 Imports statements are in the wrong order. from invenio.base.bundles should be before from invenio.ext.assets


3: L102 copyright year is outdated, expected 2015 but got 2014


2:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
21:1: I101 Imported names are in the wrong order. Should be WorkflowError, WorkflowHalt
21:1: I201 Missing newline before sections or imports.
23:1: I100 Imports statements are in the wrong order. from .engine should be before from .models


2:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
23:1: I100 Imports statements are in the wrong order. import glob should be before import time
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from sqlalchemy.orm.exc
29:1: I201 Missing newline before sections or imports.
31:1: I101 Imported names are in the wrong order. Should be Timeout, run_shell_command
32:1: I100 Imports statements are in the wrong order. from invenio.utils.plotextractor.converter should be before from invenio.utils.shell
33:1: I100 Imports statements are in the wrong order. from invenio.modules.workflows.utils should be before from invenio.utils.plotextractor.converter
100:22: E126 continuation line over-indented for hanging indent
339: D202 No blank lines allowed *after* function docstring, found 1
366: D202 No blank lines allowed *after* function docstring, found 1
455:28: E124 closing bracket does not match visual indentation
533:13: B901 blind except: statement
548: D202 No blank lines allowed *after* function docstring, found 1
801:21: E711 comparison to None should be 'if cond is None:'


2:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
24:1: I100 Imports statements are in the wrong order. import base64 should be before import tempfile
26:1: I201 Missing newline before sections or imports.
27:1: I101 Imported names are in the wrong order. Should be callable, iteritems, string_types
27:1: I100 Imports statements are in the wrong order. from six should be before from six.moves
28:1: I100 Imports statements are in the wrong order. from datetime should be before from six
28:1: I201 Missing newline before sections or imports.
29:1: I201 Missing newline before sections or imports.
31:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy.orm.exc
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.ext.sqlalchemy
34:1: I101 Imported names are in the wrong order. Should be WorkflowsTaskResult, redis_create_search_entry, session_manager
36:1: I101 Imported names are in the wrong order. Should be BibWorkflowLogHandler, get_logger
36:1: I100 Imports statements are in the wrong order. from .logger should be before from .utils
99: D290 White spaces around docstring should be trimmed.
106: D290 White spaces around docstring should be trimmed.
151: D290 White spaces around docstring should be trimmed.
268: D290 White spaces around docstring should be trimmed.
279: D290 White spaces around docstring should be trimmed.
306: D290 White spaces around docstring should be trimmed.
321: D290 White spaces around docstring should be trimmed.
389: D290 White spaces around docstring should be trimmed.
496: D290 White spaces around docstring should be trimmed.
675: D290 White spaces around docstring should be trimmed.
686: D290 White spaces around docstring should be trimmed.
696: D290 White spaces around docstring should be trimmed.
702: D290 White spaces around docstring should be trimmed.
744: D290 White spaces around docstring should be trimmed.
754: D290 White spaces around docstring should be trimmed.


19: L101 copyright is missing


2:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
23:1: I100 Imports statements are in the wrong order. import glob should be before import time
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from sqlalchemy.orm.exc
29:1: I201 Missing newline before sections or imports.
31:1: I101 Imported names are in the wrong order. Should be Timeout, run_shell_command
32:1: I100 Imports statements are in the wrong order. from invenio.utils.plotextractor.converter should be before from invenio.utils.shell
33:1: I100 Imports statements are in the wrong order. from invenio.modules.workflows.utils should be before from invenio.utils.plotextractor.converter
100:22: E126 continuation line over-indented for hanging indent
339: D202 No blank lines allowed *after* function docstring, found 1
366: D202 No blank lines allowed *after* function docstring, found 1
455:28: E124 closing bracket does not match visual indentation
545: D202 No blank lines allowed *after* function docstring, found 1
798:21: E711 comparison to None should be 'if cond is None:'


I think it's better for HSR not to exclude rows, since it basically is about number of cases with different criterion. In case OPM wants to exclude AWCs with no cases, it's pretty easy to do it by filtering [this list](https://github.com/dimagi/commcare-hq/pull/5834/files#diff-ccd64fee9efaebeaf7505fd9367f2bb9R1049)


I don't think this is a very good example in and of itself.  Try something more like:

    :OperServ!OperServ@services.int METADATA user1 mark oper:auspex :User likes to troll staff into enabling channel takeovers


[R/simulator_ms.R:32:33:](https://github.com/paulstaab/coalsimr/blob/5e2166d3d00e4ccd8a818f89ed3c676eadfa97f0/R/simulator_ms.R#L32) *style:* **Commas should always have a space after.**
```r
               'locus_length', ',')
                                ^
```


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing