1: D400 First line should end with '.', not 's'
1: D205 Blank line missing between one-line summary and description
1: D208 Docstring is over-indented
30:1: I101 Imported names are in the wrong order. Should be DatabaseError, run_sql
32:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.legacy.dbquery
33:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.bibsched.bibtask
34:1: I101 Imported names are in the wrong order. Should be CFG_BIBINDEX_CHARS_ALPHANUMERIC_SEPARATORS, CFG_BIBINDEX_CHARS_PUNCTUATION
34:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord
35:6: E126 continuation line over-indented for hanging indent
56: D200 One-line docstring should not occupy 3 lines
66:9: E128 continuation line under-indented for visual indent
69:1: E302 expected 2 blank lines, found 1
69: D401 First line should be imperative: 'Return', not 'Returns'
69: D209 Put multi-line docstring closing quotes on separate line
69: D205 Blank line missing between one-line summary and description
69: D208 Docstring is over-indented
85: D401 First line should be imperative: 'Return', not 'Returns'
85: D209 Put multi-line docstring closing quotes on separate line
85: D400 First line should end with '.', not 'e'
85: D205 Blank line missing between one-line summary and description
85: D208 Docstring is over-indented
100: D401 First line should be imperative: 'Return', not 'Returns'
100: D400 First line should end with '.', not 'e'
100: D205 Blank line missing between one-line summary and description
100: D208 Docstring is over-indented
108:5: B901 blind except: statement
115: D401 First line should be imperative: 'Get', not 'Gets'
115: D290 White spaces around docstring should be trimmed.
115: D209 Put multi-line docstring closing quotes on separate line
115: D400 First line should end with '.', not 'd'
115: D205 Blank line missing between one-line summary and description
115: D208 Docstring is over-indented
121:5: B901 blind except: statement
128: D401 First line should be imperative: 'Get', not 'Gets'
128: D290 White spaces around docstring should be trimmed.
128: D209 Put multi-line docstring closing quotes on separate line
128: D400 First line should end with '.', not 'd'
128: D205 Blank line missing between one-line summary and description
128: D208 Docstring is over-indented
134:5: B901 blind except: statement
141: D205 Blank line missing between one-line summary and description
171: D400 First line should end with '.', not 's'
171: D205 Blank line missing between one-line summary and description
171: D208 Docstring is over-indented
182:11: E271 multiple spaces after keyword
188:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.utils should be before from invenio.utils.memoise
188:1: F401 'get_idx_indexer' imported but unused
191: D401 First line should be imperative: 'Return', not 'Returns'
191: D209 Put multi-line docstring closing quotes on separate line
191: D205 Blank line missing between one-line summary and description
191: D208 Docstring is over-indented
213: D401 First line should be imperative: 'Return', not 'Returns'
213: D290 White spaces around docstring should be trimmed.
222: D401 First line should be imperative: 'Return', not 'Returns'
222: D209 Put multi-line docstring closing quotes on separate line
222: D400 First line should end with '.', not 'h'
222: D205 Blank line missing between one-line summary and description
222: D208 Docstring is over-indented
233: D401 First line should be imperative: 'Check', not 'Checks'
233: D400 First line should end with '.', not 'l'
242:1: E302 expected 2 blank lines, found 1
242: D400 First line should end with '.', not 's'
242: D205 Blank line missing between one-line summary and description
242: D208 Docstring is over-indented
256:1: E302 expected 2 blank lines, found 1
256: D401 First line should be imperative: 'Return', not 'Returns'
256: D205 Blank line missing between one-line summary and description
256: D208 Docstring is over-indented
269: D401 First line should be imperative: 'Return', not 'Returns'
269: D209 Put multi-line docstring closing quotes on separate line
269: D205 Blank line missing between one-line summary and description
269: D208 Docstring is over-indented
282: D401 First line should be imperative: 'Return', not 'Returns'
282: D209 Put multi-line docstring closing quotes on separate line
282: D205 Blank line missing between one-line summary and description
282: D208 Docstring is over-indented
293: D401 First line should be imperative: 'Return', not 'Returns'
293: D400 First line should end with '.', not 's'
293: D205 Blank line missing between one-line summary and description
293: D208 Docstring is over-indented
305: D401 First line should be imperative: 'Return', not 'Returns'
305: D209 Put multi-line docstring closing quotes on separate line
305: D400 First line should end with '.', not 'g'
305: D205 Blank line missing between one-line summary and description
305: D208 Docstring is over-indented
310:26: E261 at least two spaces before inline comment
310:27: E262 inline comment should start with '# '
311:26: E261 at least two spaces before inline comment
311:27: E262 inline comment should start with '# '
326:25: E261 at least two spaces before inline comment
326:26: E262 inline comment should start with '# '
346: D401 First line should be imperative: 'Return', not 'Returns'
346: D209 Put multi-line docstring closing quotes on separate line
346: D400 First line should end with '.', not 'g'
346: D205 Blank line missing between one-line summary and description
346: D208 Docstring is over-indented
384: D401 First line should be imperative: 'Return', not 'Returns'
384: D205 Blank line missing between one-line summary and description
384: D208 Docstring is over-indented
422: D401 First line should be imperative: 'Return', not 'Returns'
422: D400 First line should end with '.', not ':'
422: D205 Blank line missing between one-line summary and description
422: D208 Docstring is over-indented
427:10: E225 missing whitespace around operator
435: D401 First line should be imperative: 'Remove', not 'Removes'
435: D205 Blank line missing between one-line summary and description
435: D208 Docstring is over-indented
448: D208 Docstring is over-indented
448: D200 One-line docstring should not occupy 3 lines
462: D401 First line should be imperative: 'Create', not 'Creates'
462: D400 First line should end with '.', not 'd'
462: D205 Blank line missing between one-line summary and description
462: D208 Docstring is over-indented
472: D101 Docstring missing
476: D401 First line should be imperative: 'Return', not 'Returns'
476: D300 Expected """-quotes, got '-quotes
486: D401 First line should be imperative: 'Return', not 'Returns'
486: D400 First line should end with '.', not 'y'
486: D205 Blank line missing between one-line summary and description
486: D208 Docstring is over-indented
497:47: E202 whitespace before ')'
501: D401 First line should be imperative: 'Check', not 'Checks'
501: D400 First line should end with '.', not 't'
504:25: E272 multiple spaces before keyword
511: D401 First line should be imperative: 'Check', not 'Checks'
511: D209 Put multi-line docstring closing quotes on separate line
511: D400 First line should end with '.', not ';'
511: D205 Blank line missing between one-line summary and description
511: D208 Docstring is over-indented
517: D401 First line should be imperative: 'Return', not 'Returns'
517: D209 Put multi-line docstring closing quotes on separate line
517: D400 First line should end with '.', not ';'
517: D205 Blank line missing between one-line summary and description
517: D208 Docstring is over-indented
526: D401 First line should be imperative: 'Find', not 'Finds'
526: D400 First line should end with '.', not 'n'
526: D205 Blank line missing between one-line summary and description
526: D208 Docstring is over-indented


4: L102 copyright year is outdated, expected 2015 but got 2011
30:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.knowledge


36:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBSORT_BUCKETS, CFG_BIBSORT_ENABLED, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_OAI_ID_FIELD, CFG_SCOAP3_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_URL, CFG_SOLR_URL, CFG_WEBSEARCH_DEF_RECORDS_IN_GROUPS, CFG_WEBSEARCH_DETAILED_META_FORMAT, CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS, CFG_WEBSEARCH_FIELDS_CONVERT, CFG_WEBSEARCH_FULLTEXT_SNIPPETS, CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH, CFG_WEBSEARCH_IDXPAIRS_FIELDS, CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT, CFG_WEBSEARCH_SYNONYM_KBRS, CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY, CFG_WEBSEARCH_WILDCARD_LIMIT, CFG_XAPIAN_ENABLED
36:1: F401 'CFG_XAPIAN_ENABLED' imported but unused
36:1: F401 'CFG_BIBINDEX_CHARS_PUNCTUATION' imported but unused
36:1: F401 'CFG_OAI_ID_FIELD' imported but unused
36:1: F401 'CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY' imported but unused
36:1: F401 'CFG_WEBSEARCH_SYNONYM_KBRS' imported but unused
36:1: F401 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' imported but unused
36:1: F401 'CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FIELDS_CONVERT' imported but unused
36:1: F401 'CFG_SCOAP3_SITE' imported but unused
36:1: F401 'CFG_BASE_URL' imported but unused
36:1: F401 'CFG_SITE_RECORD' imported but unused
36:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' imported but unused
36:1: F401 'CFG_INSPIRE_SITE' imported but unused
36:1: F401 'CFG_LOGDIR' imported but unused
36:1: F401 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' imported but unused
36:1: F401 'CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT' imported but unused
36:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
36:1: F401 'CFG_WEBSEARCH_WILDCARD_LIMIT' imported but unused
36:1: F401 'CFG_WEBSEARCH_DETAILED_META_FORMAT' imported but unused
36:1: F401 'CFG_BIBSORT_BUCKETS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FULLTEXT_SNIPPETS' imported but unused
36:1: F401 'CFG_SOLR_URL' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_FIELDS' imported but unused
37:6: E126 continuation line over-indented for hanging indent
76:1: F401 'get_most_popular_field_values' imported but unused
77:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio.modules.search.utils
77:1: F401 'InvenioWebSearchUnknownCollectionError' imported but unused
77:1: F401 'InvenioWebSearchWildcardLimitError' imported but unused
78:6: E126 continuation line over-indented for hanging indent
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.search.errors
80:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from .utils
83:1: I201 Missing newline before sections or imports.
83:1: F401 'record_xml_output' imported but unused
83:1: F401 'create_record' imported but unused
84:1: I101 Imported names are in the wrong order. Should be get_bibrank_methods, is_method_valid, rank_by_citations, rank_records
84:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.record_sorter should be before from invenio.legacy.bibrecord
84:1: F401 'rank_by_citations' imported but unused
84:1: F401 'get_bibrank_methods' imported but unused
89:1: I101 Imported names are in the wrong order. Should be calculate_reading_similarity_list, register_page_view_event
89:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_similarity should be before from invenio.legacy.bibrank.record_sorter
89:1: F401 'register_page_view_event' imported but unused
89:1: F401 'calculate_reading_similarity_list' imported but unused
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_stemmer should be before from invenio.legacy.bibrank.downloads_similarity
90:1: F401 'stem' imported but unused
91:1: F401 'BibIndexDefaultTokenizer' imported but unused
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.modules.indexer.tokenizers.BibIndexDefaultTokenizer
92:1: F401 'author_name_requires_phrase_search' imported but unused
92:1: F401 'get_field_tags' imported but unused
94:1: I101 Imported names are in the wrong order. Should be lower_index_term, wash_author_name, wash_index_term
94:1: F401 'wash_index_term' imported but unused
94:1: F401 'wash_author_name' imported but unused
94:1: F401 'lower_index_term' imported but unused
95:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_config should be before from invenio.legacy.bibindex.engine_washer
95:1: F401 'CFG_BIBINDEX_SYNONYM_MATCH_TYPE' imported but unused
96:1: I101 Imported names are in the wrong order. Should be create_excel, format_record, format_records, get_output_format_content_type
96:1: F401 'create_excel' imported but unused
96:1: F401 'get_output_format_content_type' imported but unused
96:1: F401 'format_record' imported but unused
96:1: F401 'format_records' imported but unused
97:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_grapher should be before from invenio.modules.formatter
97:1: F401 'create_download_history_graph_and_box' imported but unused
98:1: F401 'DataCacher' imported but unused
99:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
99:1: F401 'perform_external_collection_search' imported but unused
99:1: F401 'print_external_results_overview' imported but unused
101:1: I101 Imported names are in the wrong order. Should be CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS, CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS, VIEWRESTRCOLL
101:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
101:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
104:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.adminlib should be before from invenio.modules.access.local_config
104:1: F401 'get_detailed_page_tabs' imported but unused
104:1: F401 'get_detailed_page_tabs_counts' imported but unused
105:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.adminlib
105:1: I201 Missing newline before sections or imports.
106:1: I101 Imported names are in the wrong order. Should be DatabaseError, InvenioDbQueryWildcardLimitError, deserialize_via_marshal
106:1: I201 Missing newline before sections or imports.
106:1: F401 'deserialize_via_marshal' imported but unused
106:1: F401 'DatabaseError' imported but unused
106:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
107:1: F401 'acc_authorize_action' imported but unused
108:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
109:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
109:1: F401 'encode_for_xml' imported but unused
109:1: F401 'wash_for_utf8' imported but unused
109:1: F401 'strip_accents' imported but unused
110:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
115:1: I101 Imported names are in the wrong order. Should be calculate_cited_by_list, calculate_co_cited_with_list, get_cited_by_list, get_citedby_hitset, get_citers_log, get_records_with_num_cites, get_refers_to_list, get_refersto_hitset
115:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before import invenio.legacy.template
115:1: F401 'get_citedby_hitset' imported but unused
115:1: F401 'calculate_cited_by_list' imported but unused
115:1: F401 'get_refersto_hitset' imported but unused
115:1: F401 'get_records_with_num_cites' imported but unused
115:1: F401 'get_cited_by_list' imported but unused
115:1: F401 'get_citers_log' imported but unused
115:1: F401 'calculate_co_cited_with_list' imported but unused
115:1: F401 'get_refers_to_list' imported but unused
120:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_grapher should be before from invenio.legacy.bibrank.citation_searcher
120:1: F401 'create_citation_history_graph_and_box' imported but unused
121:1: I101 Imported names are in the wrong order. Should be get_self_cited_by, get_self_cited_by_list, get_self_refers_to_list
121:1: F401 'get_self_refers_to_list' imported but unused
121:1: F401 'get_self_cited_by' imported but unused
121:1: F401 'get_self_cited_by_list' imported but unused
122:55: E126 continuation line over-indented for hanging indent
125:1: I101 Imported names are in the wrong order. Should be get_table_update_time, run_sql, run_sql_with_limit, wash_table_column_name
125:1: F401 'wash_table_column_name' imported but unused
125:1: F401 'get_table_update_time' imported but unused
125:1: F401 'run_sql_with_limit' imported but unused
127:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
127:1: F401 'collect_user_info' imported but unused
128:1: I101 Imported names are in the wrong order. Should be create_error_box, pagefooteronly, pageheaderonly, write_warning
128:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
128:1: F401 'pagefooteronly' imported but unused
128:1: F401 'create_error_box' imported but unused
128:1: F401 'write_warning' imported but unused
128:1: F401 'pageheaderonly' imported but unused
129:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
131:1: F401 'apache' imported but unused
133:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.utils
133:1: F401 'do_calculate_hosted_collections_results' imported but unused
133:1: F401 'calculate_hosted_collections_results' imported but unused
134:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused
139:22: E203 whitespace before ':'
139:14: E225 missing whitespace around operator
140:24: E203 whitespace before ':'
141:24: E203 whitespace before ':'
142:28: E203 whitespace before ':'
143:30: E203 whitespace before ':'
144:24: E203 whitespace before ':'
145:23: E203 whitespace before ':'
146:29: E203 whitespace before ':'
147:26: E203 whitespace before ':'
148:33: E203 whitespace before ':'
149:30: E203 whitespace before ':'
150:30: E203 whitespace before ':'
151:30: E203 whitespace before ':'
152:30: E203 whitespace before ':'
153:30: E203 whitespace before ':'
154:30: E203 whitespace before ':'
155:41: E703 statement ends with a semicolon
158:1: F401 'collection_restricted_p' imported but unused
159:1: F401 'restricted_collection_cache' imported but unused
160:1: F401 'get_permitted_restricted_collections' imported but unused
161:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.utils
161:1: F401 'get_all_restricted_recids' imported but unused
164:1: F401 'check_user_can_view_record' imported but unused
166:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.records.access
167:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.collections.cache
168:1: F401 'get_field_i18nname' imported but unused
170:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.models should be before from invenio.modules.search.cache
176: D401 First line should be imperative: 'Create', not 'Creates'
176: D202 No blank lines allowed *after* function docstring, found 1
176: D400 First line should end with '.', not 'n'
176: D205 Blank line missing between one-line summary and description
184:33: E261 at least two spaces before inline comment
193:1: F401 'get_synonym_terms' imported but unused
195:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
198: D401 First line should be imperative: 'Return', not 'Returns'
198: D300 Expected """-quotes, got '-quotes
219:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.washers
219:1: F401 'get_collection_allchildren' imported but unused
222: D401 First line should be imperative: 'Return', not 'Returns'
222: D202 No blank lines allowed *after* function docstring, found 1
232:34: E261 at least two spaces before inline comment
249:13: B901 blind except: statement
280: D400 First line should end with '.', not 'o'
280: D205 Blank line missing between one-line summary and description
280: D208 Docstring is over-indented
325:1: F403 'from invenio.modules.search.engine import *' used; unable to detect undefined names
328: D209 Put multi-line docstring closing quotes on separate line
328: D400 First line should end with '.', not 'y'
328: D205 Blank line missing between one-line summary and description
328: D208 Docstring is over-indented
341:38: E203 whitespace before ','
372:1: E302 expected 2 blank lines, found 0
372: D209 Put multi-line docstring closing quotes on separate line
372: D400 First line should end with '.', not 'g'
372: D205 Blank line missing between one-line summary and description
372: D208 Docstring is over-indented
401: D209 Put multi-line docstring closing quotes on separate line
401: D205 Blank line missing between one-line summary and description
418: D290 White spaces around docstring should be trimmed.
418: D400 First line should end with '.', not 'h'
418: D205 Blank line missing between one-line summary and description
436: D401 First line should be imperative: 'I', not 'Is'
436: D400 First line should end with '.', not '?'
447:1: E302 expected 2 blank lines, found 1
447: D205 Blank line missing between one-line summary and description
447: D208 Docstring is over-indented
454:1: I101 Imported names are in the wrong order. Should be CACHE_SORTED_DATA, SORTING_METHODS
454:1: F401 'CACHE_SORTED_DATA' imported but unused
457: D205 Blank line missing between one-line summary and description
457: D208 Docstring is over-indented
471:20: E127 continuation line over-indented for visual indent
473:25: E126 continuation line over-indented for hanging indent
524: D103 Docstring missing
534: D401 First line should be imperative: 'calculate', not 'calculates'
534: D209 Put multi-line docstring closing quotes on separate line
534: D202 No blank lines allowed *after* function docstring, found 1
534: D400 First line should end with '.', not 'e'
534: D205 Blank line missing between one-line summary and description
545:20: E261 at least two spaces before inline comment
549:17: E261 at least two spaces before inline comment
592: D290 White spaces around docstring should be trimmed.
592: D400 First line should end with '.', not 'n'
598:25: E261 at least two spaces before inline comment
599:13: E222 multiple spaces after operator
622:10: E261 at least two spaces before inline comment
641: D103 Docstring missing
642:25: E128 continuation line under-indented for visual indent
643:25: E128 continuation line under-indented for visual indent
644:25: E128 continuation line under-indented for visual indent
645:25: E128 continuation line under-indented for visual indent
662: D401 First line should be imperative: 'Set', not 'Sets'
662: D202 No blank lines allowed *after* function docstring, found 1
662: D400 First line should end with '.', not 'l'
662: D200 One-line docstring should not occupy 3 lines
663:23: E128 continuation line under-indented for visual indent
664:23: E128 continuation line under-indented for visual indent
665:23: E128 continuation line under-indented for visual indent
666:23: E128 continuation line under-indented for visual indent
667:23: E128 continuation line under-indented for visual indent
705:9: B901 blind except: statement


1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2011
31:1: I100 Imports statements are in the wrong order. import datetime should be before from time
33:1: I101 Imported names are in the wrong order. Should be CFG_LOGDIR, CFG_SITE_ADMIN_EMAIL, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBALERT_MAX_NUM_OF_RECORDS_IN_ALERT_EMAIL, CFG_WEBALERT_SEND_EMAIL_NUMBER_OF_TRIES, CFG_WEBALERT_SEND_EMAIL_SLEEPTIME_BETWEEN_TRIES
34:6: E126 continuation line over-indented for hanging indent
41:1: I101 Imported names are in the wrong order. Should be add_to_basket, get_basket_owner_id
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.webbasket.api should be before from invenio.legacy.webbasket.db_layer
43:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, perform_request_search
43:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webbasket.api
44:6: E126 continuation line over-indented for hanging indent
45:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.search_engine
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email
48:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.legacy.webuser
52:1: I101 Imported names are in the wrong order. Should be CFG_EXTERNAL_COLLECTION_MAXRESULTS_ALERTS, CFG_EXTERNAL_COLLECTION_TIMEOUT
53:1: E122 continuation line missing indentation or outdented
54:1: E122 continuation line missing indentation or outdented
59:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
63:1: E302 expected 2 blank lines, found 1
63: D202 No blank lines allowed *after* function docstring, found 1
68:1: E302 expected 2 blank lines, found 1
68: D202 No blank lines allowed *after* function docstring, found 1
73:1: E302 expected 2 blank lines, found 1
73: D401 First line should be imperative: 'Return', not 'Returns'
73: D202 No blank lines allowed *after* function docstring, found 1
78:1: E302 expected 2 blank lines, found 1
78: D401 First line should be imperative: 'Return', not 'Returns'
78: D202 No blank lines allowed *after* function docstring, found 1
78: D400 First line should end with '.', not 'm'
84:1: E302 expected 2 blank lines, found 1
84: D202 No blank lines allowed *after* function docstring, found 1
84: D400 First line should end with '.', not 's'
94:29: E261 at least two spaces before inline comment
122:99: E502 the backslash is redundant between brackets
157:1: E302 expected 2 blank lines, found 1
157: D401 First line should be imperative: 'Return', not 'Returns'
157: D202 No blank lines allowed *after* function docstring, found 1
163:1: E302 expected 2 blank lines, found 1
172:37: E261 at least two spaces before inline comment
173:29: E261 at least two spaces before inline comment
203:99: E502 the backslash is redundant between brackets
262:1: E302 expected 2 blank lines, found 1
262: D202 No blank lines allowed *after* function docstring, found 1
267:1: E302 expected 2 blank lines, found 1
267: D401 First line should be imperative: 'Return', not 'Returns'
267: D202 No blank lines allowed *after* function docstring, found 1
271:6: E221 multiple spaces before operator
272:6: E221 multiple spaces before operator
273:7: E221 multiple spaces before operator
274:8: E221 multiple spaces before operator
275:6: E221 multiple spaces before operator
276:7: E221 multiple spaces before operator
277:7: E221 multiple spaces before operator
278:7: E221 multiple spaces before operator
279:7: E221 multiple spaces before operator
280:7: E221 multiple spaces before operator
281:7: E221 multiple spaces before operator
282:8: E221 multiple spaces before operator
283:7: E221 multiple spaces before operator
284:7: E221 multiple spaces before operator
285:7: E221 multiple spaces before operator
286:8: E221 multiple spaces before operator
287:7: E221 multiple spaces before operator
288:7: E221 multiple spaces before operator
289:7: E221 multiple spaces before operator
290:7: E221 multiple spaces before operator
298:25: E261 at least two spaces before inline comment
298:26: E262 inline comment should start with '# '
300:10: E261 at least two spaces before inline comment
305:18: E261 at least two spaces before inline comment
305:19: E262 inline comment should start with '# '
318:35: E128 continuation line under-indented for visual indent
319:35: E128 continuation line under-indented for visual indent
320:35: E128 continuation line under-indented for visual indent
324:1: E302 expected 2 blank lines, found 1
324: D209 Put multi-line docstring closing quotes on separate line
324: D202 No blank lines allowed *after* function docstring, found 1
367:1: E302 expected 2 blank lines, found 1
367: D209 Put multi-line docstring closing quotes on separate line
367: D202 No blank lines allowed *after* function docstring, found 1
380:1: E302 expected 2 blank lines, found 1
380: D209 Put multi-line docstring closing quotes on separate line
380: D202 No blank lines allowed *after* function docstring, found 1
393:1: E302 expected 2 blank lines, found 1
393: D209 Put multi-line docstring closing quotes on separate line
393: D202 No blank lines allowed *after* function docstring, found 1
405:1: E302 expected 2 blank lines, found 1
405: D209 Put multi-line docstring closing quotes on separate line
405: D202 No blank lines allowed *after* function docstring, found 1
422:1: E302 expected 2 blank lines, found 1
422: D401 First line should be imperative: 'Log', not 'Logs'
422: D202 No blank lines allowed *after* function docstring, found 1
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 's'
433: D205 Blank line missing between one-line summary and description
451:82: E502 the backslash is redundant between brackets
456:106: E502 the backslash is redundant between brackets
461:1: E302 expected 2 blank lines, found 1
461: D202 No blank lines allowed *after* function docstring, found 1
461: D400 First line should end with '.', not '?'
466:1: E302 expected 2 blank lines, found 1
466: D202 No blank lines allowed *after* function docstring, found 1
466: D400 First line should end with '.', not '?'
471:1: E302 expected 2 blank lines, found 1
471: D209 Put multi-line docstring closing quotes on separate line
471: D202 No blank lines allowed *after* function docstring, found 1
480:31: E261 at least two spaces before inline comment
486:1: E302 expected 2 blank lines, found 1
486: D209 Put multi-line docstring closing quotes on separate line
486: D202 No blank lines allowed *after* function docstring, found 1
486: D400 First line should end with '.', not 's'
486: D205 Blank line missing between one-line summary and description
494:1: E302 expected 2 blank lines, found 1
494: D209 Put multi-line docstring closing quotes on separate line
494: D202 No blank lines allowed *after* function docstring, found 1
494: D205 Blank line missing between one-line summary and description
509:1: E302 expected 2 blank lines, found 1
509: D209 Put multi-line docstring closing quotes on separate line
509: D202 No blank lines allowed *after* function docstring, found 1
509: D400 First line should end with '.', not 's'
509: D205 Blank line missing between one-line summary and description
532: D209 Put multi-line docstring closing quotes on separate line
532: D205 Blank line missing between one-line summary and description
543:64: E261 at least two spaces before inline comment
543:65: E262 inline comment should start with '# '
555:1: E302 expected 2 blank lines, found 1
555: D202 No blank lines allowed *after* function docstring, found 1
555: D400 First line should end with '.', not 'l'
576:44: E261 at least two spaces before inline comment
576:45: E262 inline comment should start with '# '


1: D290 White spaces around docstring should be trimmed.
1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2013
31:1: I101 Imported names are in the wrong order. Should be check_comment_belongs_to_record, check_recID_is_in_range, check_user_can_attach_file_to_comments, check_user_can_send_comments, check_user_can_view_comment, check_user_can_view_comments, get_user_subscription_to_discussion, is_comment_deleted, perform_display_your_comments, perform_request_add_comment_or_remark, perform_request_display_comments_or_remarks, perform_request_report, perform_request_vote, query_get_comment, subscribe_user_to_discussion, toggle_comment_visibility, unsubscribe_user_from_discussion
31:1: I100 Imports statements are in the wrong order. from invenio.modules.comments.api should be before from six
32:32: E126 continuation line over-indented for hanging indent
49:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_PREFIX, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBCOMMENT_MAX_ATTACHED_FILES, CFG_WEBCOMMENT_MAX_ATTACHMENT_SIZE, CFG_WEBCOMMENT_USE_MATHJAX_IN_COMMENTS
49:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.comments.api
50:6: E126 continuation line over-indented for hanging indent
64:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, page_not_authorized
65:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
66:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webpage
67:6: E126 continuation line over-indented for hanging indent
68:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
69:30: E126 continuation line over-indented for hanging indent
70:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
71:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.utils.html
72:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.logging
73:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
76:1: I101 Imported names are in the wrong order. Should be InvenioWebAccessMailCookieDeletedError, InvenioWebAccessMailCookieError, mail_cookie_check_common, mail_cookie_create_authorize_action, mail_cookie_create_common
77:6: E126 continuation line over-indented for hanging indent
82:1: F401 'InvenioWebCommentError' imported but unused
83:6: E126 continuation line over-indented for hanging indent
85:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.comments.config
88:1: I100 Imports statements are in the wrong order. import os should be before import invenio.legacy.template
89:1: I201 Missing newline before sections or imports.
90:1: I101 Imported names are in the wrong order. Should be decompose_file, propose_next_docname, stream_file
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.utils
91:6: E126 continuation line over-indented for hanging indent
96:1: E302 expected 2 blank lines, found 1
96: D203 Expected 1 blank line *before* class docstring, found 0
102: D102 Docstring missing
104:34: E261 at least two spaces before inline comment
107: D401 First line should be imperative: 'Redirect', not 'Redirects'
107: D400 First line should end with '.', not 'n'
107: D200 One-line docstring should not occupy 3 lines
113: D205 Blank line missing between one-line summary and description
146:64: E261 at least two spaces before inline comment
155:86: E203 whitespace before ':'
157:90: E502 the backslash is redundant between brackets
157:63: E203 whitespace before ':'
157:87: E203 whitespace before ':'
158:17: E128 continuation line under-indented for visual indent
161:52: E502 the backslash is redundant between brackets
162:17: E128 continuation line under-indented for visual indent
162:21: E251 unexpected spaces around keyword / parameter equals
162:23: E251 unexpected spaces around keyword / parameter equals
195:51: E502 the backslash is redundant between brackets
196:85: E502 the backslash is redundant between brackets
198:53: E502 the backslash is redundant between brackets
200:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
225:17: E128 continuation line under-indented for visual indent
246:69: E225 missing whitespace around operator
249:78: E225 missing whitespace around operator
259:13: E303 too many blank lines (2)
260:25: E128 continuation line under-indented for visual indent
261:25: E128 continuation line under-indented for visual indent
262:25: E128 continuation line under-indented for visual indent
263:25: E128 continuation line under-indented for visual indent
263:38: E251 unexpected spaces around keyword / parameter equals
263:40: E251 unexpected spaces around keyword / parameter equals
264:25: E128 continuation line under-indented for visual indent
265:25: E128 continuation line under-indented for visual indent
266:25: E128 continuation line under-indented for visual indent
267:25: E128 continuation line under-indented for visual indent
268:21: E127 continuation line over-indented for visual indent
269:21: E127 continuation line over-indented for visual indent
270:21: E127 continuation line over-indented for visual indent
271:21: E127 continuation line over-indented for visual indent
284: D400 First line should end with '.', not '0'
284: D205 Blank line missing between one-line summary and description
328:86: E203 whitespace before ':'
332:53: E127 continuation line over-indented for visual indent
337:53: E127 continuation line over-indented for visual indent
339:90: E502 the backslash is redundant between brackets
339:63: E203 whitespace before ':'
339:87: E203 whitespace before ':'
340:17: E128 continuation line under-indented for visual indent
343:52: E502 the backslash is redundant between brackets
344:17: E128 continuation line under-indented for visual indent
344:21: E251 unexpected spaces around keyword / parameter equals
344:23: E251 unexpected spaces around keyword / parameter equals
350:56: E502 the backslash is redundant between brackets
351:48: E251 unexpected spaces around keyword / parameter equals
351:50: E251 unexpected spaces around keyword / parameter equals
354:13: E303 too many blank lines (2)
359:56: E502 the backslash is redundant between brackets
360:48: E251 unexpected spaces around keyword / parameter equals
360:50: E251 unexpected spaces around keyword / parameter equals
377:26: E261 at least two spaces before inline comment
383:55: E261 at least two spaces before inline comment
393:109: E502 the backslash is redundant between brackets
399:25: B901 blind except: statement
408:25: F841 local variable 'n' is assigned to but never used
424:32: E127 continuation line over-indented for visual indent
432:41: E128 continuation line under-indented for visual indent
445:21: B901 blind except: statement
459:69: E225 missing whitespace around operator
463:92: E127 continuation line over-indented for visual indent
464:92: E127 continuation line over-indented for visual indent
465:92: E127 continuation line over-indented for visual indent
465:107: E225 missing whitespace around operator
466:92: E127 continuation line over-indented for visual indent
467:92: E127 continuation line over-indented for visual indent
467:107: E225 missing whitespace around operator
477:69: E127 continuation line over-indented for visual indent
481:99: E502 the backslash is redundant between brackets
481:74: E225 missing whitespace around operator
481:93: E225 missing whitespace around operator
482:86: E502 the backslash is redundant between brackets
482:78: E225 missing whitespace around operator
484:59: F841 local variable 'e' is assigned to but never used
538: D202 No blank lines allowed *after* method docstring, found 1
538: D205 Blank line missing between one-line summary and description
580:86: E203 whitespace before ':'
582:90: E502 the backslash is redundant between brackets
582:63: E203 whitespace before ':'
582:87: E203 whitespace before ':'
583:17: E128 continuation line under-indented for visual indent
586:52: E502 the backslash is redundant between brackets
587:17: E128 continuation line under-indented for visual indent
587:21: E251 unexpected spaces around keyword / parameter equals
587:23: E251 unexpected spaces around keyword / parameter equals
591:52: E502 the backslash is redundant between brackets
592:44: E251 unexpected spaces around keyword / parameter equals
592:46: E251 unexpected spaces around keyword / parameter equals
597:52: E502 the backslash is redundant between brackets
598:44: E251 unexpected spaces around keyword / parameter equals
598:46: E251 unexpected spaces around keyword / parameter equals
602:52: E502 the backslash is redundant between brackets
603:44: E251 unexpected spaces around keyword / parameter equals
603:46: E251 unexpected spaces around keyword / parameter equals
617: D202 No blank lines allowed *after* method docstring, found 1
617: D400 First line should end with '.', not 't'
617: D205 Blank line missing between one-line summary and description
657:86: E203 whitespace before ':'
659:90: E502 the backslash is redundant between brackets
659:63: E203 whitespace before ':'
659:87: E203 whitespace before ':'
660:17: E128 continuation line under-indented for visual indent
663:52: E502 the backslash is redundant between brackets
664:17: E128 continuation line under-indented for visual indent
664:21: E251 unexpected spaces around keyword / parameter equals
664:23: E251 unexpected spaces around keyword / parameter equals
668:52: E502 the backslash is redundant between brackets
669:44: E251 unexpected spaces around keyword / parameter equals
669:46: E251 unexpected spaces around keyword / parameter equals
674:52: E502 the backslash is redundant between brackets
675:44: E251 unexpected spaces around keyword / parameter equals
675:46: E251 unexpected spaces around keyword / parameter equals
679:52: E502 the backslash is redundant between brackets
680:44: E251 unexpected spaces around keyword / parameter equals
680:46: E251 unexpected spaces around keyword / parameter equals
691:90: E225 missing whitespace around operator
694: D400 First line should end with '.', not 'w'
694: D205 Blank line missing between one-line summary and description
706:86: E203 whitespace before ':'
708:90: E502 the backslash is redundant between brackets
708:63: E203 whitespace before ':'
708:87: E203 whitespace before ':'
709:17: E128 continuation line under-indented for visual indent
712:52: E502 the backslash is redundant between brackets
713:17: E128 continuation line under-indented for visual indent
713:21: E251 unexpected spaces around keyword / parameter equals
713:23: E251 unexpected spaces around keyword / parameter equals
720: D200 One-line docstring should not occupy 3 lines
730:86: E203 whitespace before ':'
732:90: E502 the backslash is redundant between brackets
732:63: E203 whitespace before ':'
732:87: E203 whitespace before ':'
733:17: E128 continuation line under-indented for visual indent
741: D400 First line should end with '.', not 'r'
741: D200 One-line docstring should not occupy 3 lines
757:63: E502 the backslash is redundant between brackets
758:90: E502 the backslash is redundant between brackets
761:1: E302 expected 2 blank lines, found 1
761: D203 Expected 1 blank line *before* class docstring, found 0
761: D208 Docstring is over-indented
769: D102 Docstring missing
771:34: E261 at least two spaces before inline comment
773: D401 First line should be imperative: 'Thi', not 'This'
773: D290 White spaces around docstring should be trimmed.
773: D400 First line should end with '.', not 'g'
773: D205 Blank line missing between one-line summary and description
780:28: E261 at least two spaces before inline comment
782:43: E261 at least two spaces before inline comment
795: D401 First line should be imperative: 'Return', not 'Returns'
809:9: F841 local variable 'uid' is assigned to but never used
815:86: E203 whitespace before ':'
817:90: E502 the backslash is redundant between brackets
817:63: E203 whitespace before ':'
817:87: E203 whitespace before ':'
818:17: E128 continuation line under-indented for visual indent
821:52: E502 the backslash is redundant between brackets
822:44: E251 unexpected spaces around keyword / parameter equals
822:46: E251 unexpected spaces around keyword / parameter equals
835:86: E203 whitespace before ':'
837:90: E502 the backslash is redundant between brackets
837:63: E203 whitespace before ':'
837:87: E203 whitespace before ':'
838:17: E128 continuation line under-indented for visual indent
841:52: E502 the backslash is redundant between brackets
842:44: E251 unexpected spaces around keyword / parameter equals
842:46: E251 unexpected spaces around keyword / parameter equals
847:52: E502 the backslash is redundant between brackets
848:44: E251 unexpected spaces around keyword / parameter equals
848:46: E251 unexpected spaces around keyword / parameter equals
854:73: E502 the backslash is redundant between brackets
855:82: E502 the backslash is redundant between brackets
855:57: E221 multiple spaces before operator
860:69: E502 the backslash is redundant between brackets
862:20: E127 continuation line over-indented for visual indent
872:1: E302 expected 2 blank lines, found 1
872: D203 Expected 1 blank line *before* class docstring, found 0
877: D202 No blank lines allowed *after* method docstring, found 1
893:65: E502 the backslash is redundant between brackets
894:46: E127 continuation line over-indented for visual indent
901:30: E203 whitespace before ':'
904:25: E203 whitespace before ':'
910:52: E502 the backslash is redundant between brackets
911:44: E251 unexpected spaces around keyword / parameter equals
911:46: E251 unexpected spaces around keyword / parameter equals
920:30: E251 unexpected spaces around keyword / parameter equals
921:34: E126 continuation line over-indented for hanging indent
921:49: E203 whitespace before ':'
923:43: E203 whitespace before ':'
924:31: E126 continuation line over-indented for hanging indent


1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2011
25:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from six
26:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
27:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, page_not_authorized
28:1: I101 Imported names are in the wrong order. Should be check_user_can_view_linkbacks, perform_request_display_approved_latest_added_linkbacks_to_accessible_records, perform_request_display_record_linbacks, perform_sendtrackback, perform_sendtrackback_disabled
28:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.api should be before from invenio.legacy.webuser
29:33: E126 continuation line over-indented for hanging indent
34:41: E126 continuation line over-indented for hanging indent
35:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.config should be before from invenio.legacy.weblinkback.db_layer
36:40: E126 continuation line over-indented for hanging indent
37:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
38:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBLINKBACK_TRACKBACK_ENABLED
38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.utils.url
39:28: E126 continuation line over-indented for hanging indent
43:1: I101 Imported names are in the wrong order. Should be create_navtrail_links, guess_primary_collection_of_a_record
44:35: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be pagefooteronly, pageheaderonly
50:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
56: D203 Expected 1 blank line *before* class docstring, found 0
61:29: E251 unexpected spaces around keyword / parameter equals
61:31: E251 unexpected spaces around keyword / parameter equals
61: D102 Docstring missing
64: D400 First line should end with '.', not 'n'
64: D200 One-line docstring should not occupy 3 lines
70: D400 First line should end with '.', not 's'
70: D200 One-line docstring should not occupy 3 lines
76:9: F841 local variable '_' is assigned to but never used
86:22: E126 continuation line over-indented for hanging indent
97:90: E251 unexpected spaces around keyword / parameter equals
97:92: E251 unexpected spaces around keyword / parameter equals
109:65: E225 missing whitespace around operator
125:51: E502 the backslash is redundant between brackets
126:22: E127 continuation line over-indented for visual indent
126:102: E502 the backslash is redundant between brackets
128:57: E502 the backslash is redundant between brackets
129:22: E127 continuation line over-indented for visual indent
130:59: E712 comparison to True should be 'if cond is True:' or 'if cond:'
130:22: E127 continuation line over-indented for visual indent
132:63: E128 continuation line under-indented for visual indent
133:63: E128 continuation line under-indented for visual indent
135:69: E128 continuation line under-indented for visual indent
136:69: E128 continuation line under-indented for visual indent
142:44: E251 unexpected spaces around keyword / parameter equals
142:46: E251 unexpected spaces around keyword / parameter equals
147:31: E127 continuation line over-indented for visual indent
148:16: E127 continuation line over-indented for visual indent
149:16: E127 continuation line over-indented for visual indent
150:16: E127 continuation line over-indented for visual indent
155: D400 First line should end with '.', not 'k'
155: D200 One-line docstring should not occupy 3 lines
168: D400 First line should end with '.', not 'k'
168: D200 One-line docstring should not occupy 3 lines
181: D400 First line should end with '.', not 's'
181: D205 Blank line missing between one-line summary and description
190:90: E251 unexpected spaces around keyword / parameter equals
190:92: E251 unexpected spaces around keyword / parameter equals
194:22: E126 continuation line over-indented for hanging indent
204: D400 First line should end with '.', not 'k'
204: D200 One-line docstring should not occupy 3 lines
222: D203 Expected 1 blank line *before* class docstring, found 0
227: D400 First line should end with '.', not 'n'
227: D200 One-line docstring should not occupy 3 lines
233: D400 First line should end with '.', not 'e'
233: D200 One-line docstring should not occupy 3 lines
242:9: F841 local variable '_' is assigned to but never used
255:44: E251 unexpected spaces around keyword / parameter equals
255:46: E251 unexpected spaces around keyword / parameter equals
260:31: E127 continuation line over-indented for visual indent
261:16: E127 continuation line over-indented for visual indent
262:16: E127 continuation line over-indented for visual indent
263:16: E127 continuation line over-indented for visual indent


2: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I100 Imports statements are in the wrong order. import datetime should be before import os
25:1: F401 'time' imported but unused
26:1: I100 Imports statements are in the wrong order. import sys should be before import time
28:1: I201 Missing newline before sections or imports.
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
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_MATHJAX_FOR_FORMATS, CFG_WEBSEARCH_WILDCARD_LIMIT
41:1: F401 'CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS' imported but unused
41:1: F401 'CFG_WEBSEARCH_RSS_I18N_COLLECTIONS' imported but unused
41:1: F401 'CFG_INSPIRE_SITE' imported but unused
41:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_STATS' imported but unused
61:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
61:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.dbquery
62:1: I101 Imported names are in the wrong order. Should be drop_default_urlargd, make_canonical_urlargd, redirect_to_url
63:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
63:1: F401 'get_mathjax_header' imported but unused
64:1: F401 'nmtoken_from_string' imported but unused
65:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences, isUserSuperAdmin, logoutUser, page_not_authorized
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.webcomment.webinterface should be before from invenio.legacy.webuser
69:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.webinterface should be before from invenio.legacy.weblinkback.webinterface
70:1: I101 Imported names are in the wrong order. Should be create_error_box, page, pageheaderonly
70:1: F401 'pageheaderonly' imported but unused
71:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
72:1: I101 Imported names are in the wrong order. Should be EM_REPOSITORY, check_user_can_view_record, collection_reclist_cache, collection_restricted_p, get_coll_i18nname, get_most_popular_field_values, guess_primary_collection_of_a_record, perform_request_search, restricted_collection_cache
72:1: F401 'collection_reclist_cache' imported but unused
72:1: F401 'get_most_popular_field_values' imported but unused
72:1: F401 'EM_REPOSITORY' imported but unused
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.collections.models
82:1: F401 'get_fieldvalues' imported but unused
82:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:6: E126 continuation line over-indented for hanging indent
90:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.modules.formatter.engine
90:1: I201 Missing newline before sections or imports.
91:1: I201 Missing newline before sections or imports.
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.bibupload.engine
92:1: F401 'get_cited_by_list' imported but unused
93:1: F401 'get_download_weight_total' imported but unused
94:1: F401 'summarize_records' imported but unused
95:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.search_engine.summarizer
99:1: I101 Imported names are in the wrong order. Should be WebInterfaceFilesPages, WebInterfaceManageDocFilesPages
99:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.webinterface should be before from invenio.legacy.bibmerge.webinterface
103:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.shell
109:83: E502 the backslash is redundant between brackets
116: D202 No blank lines allowed *after* function docstring, found 1
116: D200 One-line docstring should not occupy 3 lines
155: D290 White spaces around docstring should be trimmed.
155: D203 Expected 1 blank line *before* class docstring, found 0
155: D204 Expected 1 blank line *after* class docstring, found 0
159: D102 Docstring missing
161:17: E203 whitespace before ':'
162:21: E203 whitespace before ':'
174:22: E203 whitespace before ':'
175:26: E203 whitespace before ':'
176:21: E203 whitespace before ':'
177:26: E203 whitespace before ':'
178:23: E203 whitespace before ':'
192: D290 White spaces around docstring should be trimmed.
192: D203 Expected 1 blank line *before* class docstring, found 0
192: D400 First line should end with '.', not 't'
201: D102 Docstring missing
223: D102 Docstring missing
238:17: E128 continuation line under-indented for visual indent
266:86: E203 whitespace before ':'
268:21: E127 continuation line over-indented for visual indent
268:67: E203 whitespace before ':'
268:91: E203 whitespace before ':'
271:52: E502 the backslash is redundant between brackets
272:17: E128 continuation line under-indented for visual indent
272:32: E502 the backslash is redundant between brackets
273:17: E128 continuation line under-indented for visual indent
286:42: E261 at least two spaces before inline comment
286:43: E262 inline comment should start with '# '
301: D290 White spaces around docstring should be trimmed.
301: D203 Expected 1 blank line *before* class docstring, found 0
301: D400 First line should end with '.', not 't'
310: D102 Docstring missing
330: D102 Docstring missing
342:17: E128 continuation line under-indented for visual indent
372:21: E128 continuation line under-indented for visual indent
373:21: E128 continuation line under-indented for visual indent
392: D290 White spaces around docstring should be trimmed.
392: D203 Expected 1 blank line *before* class docstring, found 0
397: D290 White spaces around docstring should be trimmed.
410:17: E128 continuation line under-indented for visual indent
411:40: E126 continuation line over-indented for hanging indent
454:102: E203 whitespace before ':'
456:37: E127 continuation line over-indented for visual indent
456:83: E203 whitespace before ':'
456:107: E203 whitespace before ':'
459:64: E502 the backslash is redundant between brackets
460:29: E128 continuation line under-indented for visual indent
460:44: E502 the backslash is redundant between brackets
461:29: E128 continuation line under-indented for visual indent
471:94: E203 whitespace before ':'
473:29: E127 continuation line over-indented for visual indent
473:75: E203 whitespace before ':'
473:99: E203 whitespace before ':'
476:60: E502 the backslash is redundant between brackets
477:25: E128 continuation line under-indented for visual indent
477:40: E502 the backslash is redundant between brackets
478:25: E128 continuation line under-indented for visual indent
504: D202 No blank lines allowed *after* method docstring, found 1
514:94: E203 whitespace before ':'
516:29: E127 continuation line over-indented for visual indent
516:75: E203 whitespace before ':'
516:99: E203 whitespace before ':'
519:60: E502 the backslash is redundant between brackets
520:25: E128 continuation line under-indented for visual indent
520:40: E502 the backslash is redundant between brackets
521:25: E128 continuation line under-indented for visual indent
549:9: E303 too many blank lines (2)
561: D290 White spaces around docstring should be trimmed.
561: D203 Expected 1 blank line *before* class docstring, found 0
566: D290 White spaces around docstring should be trimmed.
566: D202 No blank lines allowed *after* method docstring, found 1
593:1: E302 expected 2 blank lines, found 1
593: D290 White spaces around docstring should be trimmed.
606: D209 Put multi-line docstring closing quotes on separate line
606: D400 First line should end with '.', not 't'
606: D205 Blank line missing between one-line summary and description
619: D401 First line should be imperative: 'Thi', not 'This'
619: D290 White spaces around docstring should be trimmed.
619: D209 Put multi-line docstring closing quotes on separate line
619: D202 No blank lines allowed *after* method docstring, found 1
619: D400 First line should end with '.', not 'r'
619: D205 Blank line missing between one-line summary and description
722: D400 First line should end with '.', not 'I'
724:63: E231 missing whitespace after ','
731: D290 White spaces around docstring should be trimmed.
740: D400 First line should end with '.', not 'e'
745:55: E202 whitespace before '}'
787: D209 Put multi-line docstring closing quotes on separate line
787: D400 First line should end with '.', not 'g'
787: D205 Blank line missing between one-line summary and description
792:84: E203 whitespace before ':'
803:17: E128 continuation line under-indented for visual indent
806:13: F841 local variable 'user_preferences' is assigned to but never used
820:5: F841 local variable 'normalised_name' is assigned to but never used
839: D400 First line should end with '.', not 'e'
839: D205 Blank line missing between one-line summary and description
859:59: E502 the backslash is redundant between brackets
860:32: F812 list comprehension redefines 'doi' from line 839
883:27: F841 local variable 'e' is assigned to but never used
897: D203 Expected 1 blank line *before* class docstring, found 0
900: D202 No blank lines allowed *after* method docstring, found 1
909:38: E231 missing whitespace after ':'
918:94: E203 whitespace before ':'
920:29: E127 continuation line over-indented for visual indent
920:75: E203 whitespace before ':'
920:99: E203 whitespace before ':'
923:60: E502 the backslash is redundant between brackets
924:25: E128 continuation line under-indented for visual indent
924:40: E502 the backslash is redundant between brackets
925:25: E128 continuation line under-indented for visual indent
946:29: F841 local variable 'e' is assigned to but never used
965:59: E127 continuation line over-indented for visual indent
966:59: E127 continuation line over-indented for visual indent
967:59: E127 continuation line over-indented for visual indent
968:59: E127 continuation line over-indented for visual indent
969:59: E127 continuation line over-indented for visual indent
970:59: E127 continuation line over-indented for visual indent
971:59: E127 continuation line over-indented for visual indent
972:59: E127 continuation line over-indented for visual indent
985:13: E122 continuation line missing indentation or outdented
1029: D290 White spaces around docstring should be trimmed.
1029: D203 Expected 1 blank line *before* class docstring, found 0
1029: D400 First line should end with '.', not 't'
1034: D102 Docstring missing
1043: D102 Docstring missing
1053:17: E128 continuation line under-indented for visual indent
1083:86: E203 whitespace before ':'
1085:21: E127 continuation line over-indented for visual indent
1085:67: E203 whitespace before ':'
1085:91: E203 whitespace before ':'
1088:52: E502 the backslash is redundant between brackets
1089:17: E128 continuation line under-indented for visual indent
1089:32: E502 the backslash is redundant between brackets
1090:17: E128 continuation line under-indented for visual indent


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
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
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.
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
46:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
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
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
55:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_dategui, convert_datetext_to_datestruct
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.utils.date
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: E113 unexpected indentation
2241:9: E113 unexpected indentation
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: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I101 Imported names are in the wrong order. Should be cgi, datetime, os, urllib
21:16: E401 multiple imports on one line
23:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBDIR
23:1: I201 Missing newline before sections or imports.
24:6: E126 continuation line over-indented for hanging indent
30:1: E302 expected 2 blank lines, found 1
30: D101 Docstring missing
32: D401 First line should be imperative: 'Generate', not 'Generates'
32: D200 One-line docstring should not occupy 3 lines
41: D401 First line should be imperative: 'Generate', not 'Generates'
41: D400 First line should end with '.', not 'r'
41: D205 Blank line missing between one-line summary and description
58:21: E126 continuation line over-indented for hanging indent
66:21: E126 continuation line over-indented for hanging indent
66:74: E502 the backslash is redundant between brackets
67:21: E128 continuation line under-indented for visual indent
76: D401 First line should be imperative: 'Generate', not 'Generates'
76: D200 One-line docstring should not occupy 3 lines
92:33: E126 continuation line over-indented for hanging indent
92:64: E502 the backslash is redundant between brackets
93:33: E128 continuation line under-indented for visual indent
97:33: E126 continuation line over-indented for hanging indent
97:64: E502 the backslash is redundant between brackets
98:33: E128 continuation line under-indented for visual indent
103:21: E128 continuation line under-indented for visual indent
107:5: E303 too many blank lines (2)
107: D401 First line should be imperative: 'Generate', not 'Generates'
107: D200 One-line docstring should not occupy 3 lines
139: D401 First line should be imperative: 'Generate', not 'Generates'
139: D200 One-line docstring should not occupy 3 lines
151:9: E303 too many blank lines (2)
162: D401 First line should be imperative: 'Generate', not 'Generates'
162: D400 First line should end with '.', not 's'
162: D200 One-line docstring should not occupy 3 lines
169: D400 First line should end with '.', not 'r'
169: D200 One-line docstring should not occupy 3 lines
178: D401 First line should be imperative: 'Generate', not 'Generates'
178: D400 First line should end with '.', not 's'
178: D200 One-line docstring should not occupy 3 lines
202:8: E122 continuation line missing indentation or outdented
203:8: E122 continuation line missing indentation or outdented
209: D200 One-line docstring should not occupy 3 lines
217: D400 First line should end with '.', not 't'
217: D200 One-line docstring should not occupy 3 lines
227: D200 One-line docstring should not occupy 3 lines
239:25: E126 continuation line over-indented for hanging indent
239:57: E502 the backslash is redundant between brackets
240:25: E128 continuation line under-indented for visual indent
243: D400 First line should end with '.', not 't'
243: D205 Blank line missing between one-line summary and description
267:26: E711 comparison to None should be 'if cond is None:'
275:17: E711 comparison to None should be 'if cond is None:'
275:17: E225 missing whitespace around operator
280:19: E271 multiple spaces after keyword
282: D401 First line should be imperative: 'Generate', not 'Generates'
282: D200 One-line docstring should not occupy 3 lines
298:33: E126 continuation line over-indented for hanging indent
298:64: E502 the backslash is redundant between brackets
299:33: E128 continuation line under-indented for visual indent
303:33: E126 continuation line over-indented for hanging indent
303:64: E502 the backslash is redundant between brackets
304:33: E128 continuation line under-indented for visual indent
309: D401 First line should be imperative: 'Generate', not 'Generates'
309: D200 One-line docstring should not occupy 3 lines
320:25: E127 continuation line over-indented for visual indent
323:17: E127 continuation line over-indented for visual indent
326: D102 Docstring missing
336: D200 One-line docstring should not occupy 3 lines
376: D401 First line should be imperative: 'Provide', not 'Provides'
376: D200 One-line docstring should not occupy 3 lines
382: D401 First line should be imperative: 'Generate', not 'Generates'
407:72: E261 at least two spaces before inline comment
408:21: E128 continuation line under-indented for visual indent
408:54: E261 at least two spaces before inline comment
409:27: E261 at least two spaces before inline comment
410:60: E261 at least two spaces before inline comment
411:26: E261 at least two spaces before inline comment
414:72: E261 at least two spaces before inline comment
415:21: E128 continuation line under-indented for visual indent
415:54: E261 at least two spaces before inline comment
416:27: E261 at least two spaces before inline comment
417:36: E261 at least two spaces before inline comment
418:50: E261 at least two spaces before inline comment
421:58: E261 at least two spaces before inline comment
422:21: E128 continuation line under-indented for visual indent
422:36: E261 at least two spaces before inline comment
439: D401 First line should be imperative: 'Generate', not 'Generates'
474:72: E261 at least two spaces before inline comment
475:21: E128 continuation line under-indented for visual indent
475:54: E261 at least two spaces before inline comment
476:27: E261 at least two spaces before inline comment
477:60: E261 at least two spaces before inline comment
478:26: E261 at least two spaces before inline comment
481:72: E261 at least two spaces before inline comment
482:21: E128 continuation line under-indented for visual indent
482:54: E261 at least two spaces before inline comment
483:27: E261 at least two spaces before inline comment
484:36: E261 at least two spaces before inline comment
485:50: E261 at least two spaces before inline comment
490:17: E128 continuation line under-indented for visual indent
508:53: E128 continuation line under-indented for visual indent
509:53: E128 continuation line under-indented for visual indent
510:53: E128 continuation line under-indented for visual indent
511:53: E128 continuation line under-indented for visual indent
514:53: E128 continuation line under-indented for visual indent
515:53: E128 continuation line under-indented for visual indent
516:53: E128 continuation line under-indented for visual indent
517:53: E128 continuation line under-indented for visual indent
522:95: E502 the backslash is redundant between brackets
534:13: E128 continuation line under-indented for visual indent
541:45: E128 continuation line under-indented for visual indent
544:21: E128 continuation line under-indented for visual indent
586:25: E128 continuation line under-indented for visual indent
587:25: E128 continuation line under-indented for visual indent
588:25: E128 continuation line under-indented for visual indent
589:25: E128 continuation line under-indented for visual indent
590:25: E128 continuation line under-indented for visual indent
591:25: E128 continuation line under-indented for visual indent
592:25: E128 continuation line under-indented for visual indent
592:77: E502 the backslash is redundant between brackets
593:33: E127 continuation line over-indented for visual indent
703: D401 First line should be imperative: 'Display', not 'Displays'
703: D400 First line should end with '.', not 'd'
711: D401 First line should be imperative: 'Display', not 'Displays'
711: D400 First line should end with '.', not 'd'
715:37: E128 continuation line under-indented for visual indent
719: D401 First line should be imperative: 'Display', not 'Displays'
719: D400 First line should end with '.', not 'd'
727: D400 First line should end with '.', not 's'
736:53: E128 continuation line under-indented for visual indent
743: D400 First line should end with '.', not ')'
763:9: E303 too many blank lines (2)
804: D401 First line should be imperative: 'Generate', not 'Generates'
804: D400 First line should end with '.', not ')'
804: D205 Blank line missing between one-line summary and description
814: D401 First line should be imperative: 'Aggregate', not 'Aggregates'
814: D400 First line should end with '.', not 'e'
814: D205 Blank line missing between one-line summary and description
882: D401 First line should be imperative: 'Generate', not 'Generates'
882: D202 No blank lines allowed *after* method docstring, found 2
908:9: E303 too many blank lines (2)
936:21: E128 continuation line under-indented for visual indent
937:33: E128 continuation line under-indented for visual indent
980: D401 First line should be imperative: 'Generate', not 'Generates'