actually i'm just remembering that i left that as private cause getFirstParent can return an invalid object if the parameter queried has no parents.

ofParameterGroup internally has a shared_ptr that holds all it's data so it can be copied with shared ownership, if the parameter you call getFirstParent on has no parents it'll return an ofParameterGroup that is pointing to null internally and when any of it's methods it's called it'll crash. you can check if it's null or not by comparing it to a boolean but i wanted to hide that since it makes using it complicated.

anyway, can you use getGroupHierarchyNames instead? otherwise i'll change this to behave in some other way but i think the only case where you want to go through the hierarchy from bottom to top is to retrieve the full name of a parameter.


looks good!


Not even a log saying something along the lines of "we shouldn't be here"?


Maybe you should be very clear what it is you're calling stupid before calling it stupid.


With the current API, this can only be done in response to DOM input events.


Use `\note` if you want to forward this info to doxygen


[heavywater] New catlady created (version: 0.0.1)

- https://fission.d2o.io/pipeline/job/06369612-09b5-4df1-801e-0000157f0000


Lgtm


@armadsen: Oops! Good catch, I'll change it now. Thanks!


align


Thanks for making this available.  Can you tell me how to set up fig.yml to start two Kafka images and have them work together?  I tried adding another instance with broker id 2 and port 9093, but they don't cluster.


This will be true if a device fires touch events for touchstart and touchend only, won't it?


pauseParams_p is not used


Parameter maybe? This is setter =P


No ETA, but I hope to take a look on this week


I would think the redis VIP should be ordered to start before haproxy which will in turn cause the IP to start before ceilo_central_clone.


"Kernel layer of stack" ... do you mean the openPOWERLINK stack kernel layer?


Josue lo tenias todo muy bien! tu eres muy inteligente, por ello  te dara risa el error , solo era que en la condicion del for tenias invertido el signo de la igualdad, debe estar asi:
   for(var i=0;i<=datos.length;i++){

Lo tienes asi:
   for(var i=0;i=<datos.length;i++){

:beers:


This is now fixed.


Move variable declaration before line 536


I performed all your suggestions.


It feels as if it might make things simpler/cleare to split this outcome into three outcomes i.e. `epassport_visa_not_needed`, `passport_bio_visa_not_needed` & `electronic_visa_waiver_needed`, but that's probably outside the scope of this PR.


有病吧，自己给自己pull的啥request啊


Coding rules... *"Align the new line with the beginning of the expression on the previous line."*


here needs changing too


Get "FILES_JOOMLA_XML_DESCRIPTION" on 'Joomla_3.4.x_to_3.4.3-Stable-Patch_Package.tar.gz' (installed from URL)
![xml-bug](https://cloud.githubusercontent.com/assets/8178486/8480982/0f02a22a-210b-11e5-99ee-03f442cf8e2b.jpg)


so I guess you'll have 'v' prefix with AVX.


still valid this todo!?


Whoops!


... are done with a rec**ei**ved ...


@fernandog  now its trowning me this
```
AA
AATypeError: parseResults() takes exactly 3 arguments (2 given)
AA    return self.parseResults(searchUrl)
AA  File "C:\adb\btdigg\sickbeard\providers\btdigg.py", line 128, in _doSearch
AA    itemList += self._doSearch(curString, 'eponly', len(episodes), epObj=epObj)
AA  File "C:\adb\btdigg\sickbeard\providers\generic.py", line 311, in findSearchResults
AA    searchResults = curProvider.findSearchResults(show, episodes, search_mode, manualSearch, downCurQuality)
AA  File "C:\adb\btdigg\sickbeard\search.py", line 461, in searchProviders
2015-07-02 16:38:37 ERROR    SEARCHQUEUE-MANUAL-293631 :: [BTDigg] :: Error while searching BTDigg, skipping: parseResults() takes exactly 3 arguments (2 given)
```
ive tryed adding sess & sess=None to the def but no sucess


Precisa checar a existência dele no When? No passo "I register a different generator of residue with the address  "([^"]*)"" não se checa.


Sure, we can do that. I'll file a new bug for that though since this is almost ready and I don't want to delay this. We can take that bug right away in beta6 though.


when I run # atomic-enterprise --help

I still get:

Use "openshift help <command>" for more information about a given command.
Use "openshift options" for a list of global command-line options (applies to all commands).

In the last commit, please s|messsages|messages| in the log message


Semicolon happened to be removed along with the regexp change


Since this variable is soley going into the canvas arc() call as the radius, I think `radius` would be a more descriptive variable name, I just feel it better explains what it represents in arc() call


Okay thanks.


... cancel request handler ... right?


Nitpick, but this doesn't really belong in this commit.  It would be better rebased into the previous commit.


I am not sure how I do this in the terminal.  I am even confused.


1: M111 unrecognized component name: legacy


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2012
50:1: E302 expected 2 blank lines, found 1
50: D101 Missing docstring in public class
55:10: E203 whitespace before ':'
56:10: E203 whitespace before ':'
57:10: E203 whitespace before ':'
58:10: E203 whitespace before ':'
59:10: E203 whitespace before ':'
60:10: E203 whitespace before ':'
61:10: E203 whitespace before ':'
62:10: E203 whitespace before ':'
63:10: E203 whitespace before ':'
66:1: E302 expected 2 blank lines, found 1
66: D202 No blank lines allowed after function docstring (found 1)
66: D400 First line should end with a period (not 'n')
66: D300 Use """triple double quotes""" (found '-quotes)
70:26: E203 whitespace before ':'
71:26: E203 whitespace before ':'
76:1: E302 expected 2 blank lines, found 1
76: D202 No blank lines allowed after function docstring (found 1)
76: D400 First line should end with a period (not 'd')
76: D300 Use """triple double quotes""" (found '-quotes)
81:1: E302 expected 2 blank lines, found 1
81:48: E203 whitespace before ','
81: D400 First line should end with a period (not 'd')
81: D205 1 blank line required between summary line and description (found 0)
95:9: E128 continuation line under-indented for visual indent
97:9: E128 continuation line under-indented for visual indent
111:96: E502 the backslash is redundant between brackets
119:34: W503 line break before binary operator
119:35: E222 multiple spaces after operator
126:13: E128 continuation line under-indented for visual indent
135:1: E302 expected 2 blank lines, found 1
135:44: E203 whitespace before ','
135: D400 First line should end with a period (not 'o')
135: D205 1 blank line required between summary line and description (found 0)
135: D207 Docstring is under-indented
202:29: E128 continuation line under-indented for visual indent
203:29: E128 continuation line under-indented for visual indent
209:21: E128 continuation line under-indented for visual indent
210:21: E128 continuation line under-indented for visual indent
211:21: E128 continuation line under-indented for visual indent
214:1: E302 expected 2 blank lines, found 1
214: D202 No blank lines allowed after function docstring (found 1)
260:30: E231 missing whitespace after ':'
261:24: E231 missing whitespace after ':'
263:28: E231 missing whitespace after ':'
324:17: E128 continuation line under-indented for visual indent
329:17: E128 continuation line under-indented for visual indent
348:19: E221 multiple spaces before operator
349:19: E221 multiple spaces before operator
376:9: E128 continuation line under-indented for visual indent


2: L102 copyright year is outdated, expected 2015 but got 2012
22:1: E402 module level import not at top of file
23:1: E402 module level import not at top of file
25:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_URL, CFG_TMPDIR
25:1: E402 module level import not at top of file
26:6: E126 continuation line over-indented for hanging indent
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.url
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.oairepository.updater
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
37:1: E402 module level import not at top of file
44:21: E126 continuation line over-indented for hanging indent
46:1: E302 expected 2 blank lines, found 1
46:25: E251 unexpected spaces around keyword / parameter equals
46:27: E251 unexpected spaces around keyword / parameter equals
46:34: E251 unexpected spaces around keyword / parameter equals
46:36: E251 unexpected spaces around keyword / parameter equals
46: D400 First line should end with a period (not 'l')
48:58: E251 unexpected spaces around keyword / parameter equals
48:60: E251 unexpected spaces around keyword / parameter equals
48:73: E251 unexpected spaces around keyword / parameter equals
48:75: E251 unexpected spaces around keyword / parameter equals
50:1: E302 expected 2 blank lines, found 1
50: D202 No blank lines allowed after function docstring (found 1)
50: D400 First line should end with a period (not 'x')
68:47: E502 the backslash is redundant between brackets
69:56: E502 the backslash is redundant between brackets
105: D400 First line should end with a period (not 't')
108:56: E231 missing whitespace after ','
116:8: E221 multiple spaces before operator
121:49: E231 missing whitespace after ','
122:49: E231 missing whitespace after ','
142:90: E502 the backslash is redundant between brackets
147:61: E502 the backslash is redundant between brackets
155: D401 First line should be in imperative mood ('create', not 'creates')
171:8: E221 multiple spaces before operator
180:27: E221 multiple spaces before operator
210:33: E128 continuation line under-indented for visual indent
211:33: E128 continuation line under-indented for visual indent
212:33: E128 continuation line under-indented for visual indent
213:33: E128 continuation line under-indented for visual indent
214:33: E128 continuation line under-indented for visual indent
243:57: E502 the backslash is redundant between brackets
251: D401 First line should be in imperative mood ('create', not 'creates')
251: D400 First line should end with a period (not 't')
284:78: E502 the backslash is redundant between brackets
301:40: E127 continuation line over-indented for visual indent
302:40: E127 continuation line over-indented for visual indent
303:40: E127 continuation line over-indented for visual indent
304:40: E127 continuation line over-indented for visual indent
316:57: E502 the backslash is redundant between brackets
317:33: E127 continuation line over-indented for visual indent
323:1: E302 expected 2 blank lines, found 1
323: D401 First line should be in imperative mood ('create', not 'creates')
323: D400 First line should end with a period (not 't')
335:9: F841 local variable 'oai_set_name' is assigned to but never used
336:9: F841 local variable 'oai_set_collection' is assigned to but never used
337:9: F841 local variable 'oai_set_p1' is assigned to but never used
338:9: F841 local variable 'oai_set_f1' is assigned to but never used
339:9: F841 local variable 'oai_set_m1' is assigned to but never used
340:9: F841 local variable 'oai_set_p2' is assigned to but never used
341:9: F841 local variable 'oai_set_f2' is assigned to but never used
342:9: F841 local variable 'oai_set_m2' is assigned to but never used
343:9: F841 local variable 'oai_set_p3' is assigned to but never used
344:9: F841 local variable 'oai_set_f3' is assigned to but never used
345:9: F841 local variable 'oai_set_m3' is assigned to but never used
346:9: F841 local variable 'oai_set_op1' is assigned to but never used
347:9: F841 local variable 'oai_set_op2' is assigned to but never used
355:37: E127 continuation line over-indented for visual indent
356:37: E127 continuation line over-indented for visual indent
357:37: E127 continuation line over-indented for visual indent
358:37: E127 continuation line over-indented for visual indent
366:57: E502 the backslash is redundant between brackets
367:17: E128 continuation line under-indented for visual indent
368:17: E128 continuation line under-indented for visual indent
374: D401 First line should be in imperative mood ('Return', not 'Returns')
374: D400 First line should end with a period (not 'd')
407:1: E302 expected 2 blank lines, found 1
407: D401 First line should be in imperative mood ('Update', not 'Updates')
407: D400 First line should end with a period (not 'e')
407: D205 1 blank line required between summary line and description (found 0)
418:1: E302 expected 2 blank lines, found 1
418: D401 First line should be in imperative mood ('Modifie', not 'Modifies')
418: D202 No blank lines allowed after function docstring (found 1)
418: D400 First line should end with a period (not 's')
420:42: E231 missing whitespace after ','
429:44: E221 multiple spaces before operator
430:44: E221 multiple spaces before operator
431:44: E221 multiple spaces before operator
432:32: E225 missing whitespace around operator
433:44: E221 multiple spaces before operator
434:44: E221 multiple spaces before operator
435:44: E221 multiple spaces before operator
436:32: E225 missing whitespace around operator
437:44: E221 multiple spaces before operator
438:44: E221 multiple spaces before operator
439:44: E221 multiple spaces before operator
456:23: E127 continuation line over-indented for visual indent
477:1: E302 expected 2 blank lines, found 1
477: D400 First line should end with a period (not 'y')
478:60: E231 missing whitespace after ','
479:39: E231 missing whitespace after ','
486:44: E221 multiple spaces before operator
487:44: E221 multiple spaces before operator
488:44: E221 multiple spaces before operator
489:32: E225 missing whitespace around operator
490:44: E221 multiple spaces before operator
491:44: E221 multiple spaces before operator
492:44: E221 multiple spaces before operator
493:32: E225 missing whitespace around operator
494:44: E221 multiple spaces before operator
495:44: E221 multiple spaces before operator
496:44: E221 multiple spaces before operator
503:23: E127 continuation line over-indented for visual indent
512:1: E302 expected 2 blank lines, found 1
512: D103 Missing docstring in public function
522:1: E302 expected 2 blank lines, found 1
522: D401 First line should be in imperative mood ('Return', not 'Returns')
547:1: E302 expected 2 blank lines, found 1
547: D400 First line should end with a period (not 'n')
547: D205 1 blank line required between summary line and description (found 0)
563:1: E302 expected 2 blank lines, found 1
563: D103 Missing docstring in public function
565:8: E221 multiple spaces before operator
582:1: E302 expected 2 blank lines, found 1
582: D103 Missing docstring in public function
592:5: E122 continuation line missing indentation or outdented
595:1: E302 expected 2 blank lines, found 1
595: D103 Missing docstring in public function
600:1: E302 expected 2 blank lines, found 1
600: D103 Missing docstring in public function
605:1: E302 expected 2 blank lines, found 1
605: D401 First line should be in imperative mood ('return', not 'returns')
605: D202 No blank lines allowed after function docstring (found 1)
605: D400 First line should end with a period (not 'm')
606:38: E231 missing whitespace after ','
607:38: E231 missing whitespace after ','
612:5: E122 continuation line missing indentation or outdented
612:8: E203 whitespace before ':'
613:5: E122 continuation line missing indentation or outdented
613:8: E203 whitespace before ':'
614:5: E122 continuation line missing indentation or outdented
614:8: E203 whitespace before ':'
615:5: E122 continuation line missing indentation or outdented
615:8: E203 whitespace before ':'
616:5: E122 continuation line missing indentation or outdented
616:8: E203 whitespace before ':'
627:5: E122 continuation line missing indentation or outdented
627:8: E203 whitespace before ':'
628:5: E122 continuation line missing indentation or outdented
628:8: E203 whitespace before ':'
629:5: E122 continuation line missing indentation or outdented
629:8: E203 whitespace before ':'
644:29: E251 unexpected spaces around keyword / parameter equals
644:31: E251 unexpected spaces around keyword / parameter equals
645:28: E251 unexpected spaces around keyword / parameter equals
645:30: E251 unexpected spaces around keyword / parameter equals
645:52: E251 unexpected spaces around keyword / parameter equals
645:54: E251 unexpected spaces around keyword / parameter equals
648:29: E251 unexpected spaces around keyword / parameter equals
648:31: E251 unexpected spaces around keyword / parameter equals
649:28: E251 unexpected spaces around keyword / parameter equals
649:30: E251 unexpected spaces around keyword / parameter equals
649:52: E251 unexpected spaces around keyword / parameter equals
649:54: E251 unexpected spaces around keyword / parameter equals
668:29: E251 unexpected spaces around keyword / parameter equals
668:31: E251 unexpected spaces around keyword / parameter equals
676:29: E251 unexpected spaces around keyword / parameter equals
676:31: E251 unexpected spaces around keyword / parameter equals
676:47: E251 unexpected spaces around keyword / parameter equals
676:49: E251 unexpected spaces around keyword / parameter equals
677:43: E251 unexpected spaces around keyword / parameter equals
677:45: E251 unexpected spaces around keyword / parameter equals
703:29: E251 unexpected spaces around keyword / parameter equals
703:31: E251 unexpected spaces around keyword / parameter equals
703:47: E251 unexpected spaces around keyword / parameter equals
703:49: E251 unexpected spaces around keyword / parameter equals
703:69: E251 unexpected spaces around keyword / parameter equals
703:71: E251 unexpected spaces around keyword / parameter equals
728:29: E251 unexpected spaces around keyword / parameter equals
728:31: E251 unexpected spaces around keyword / parameter equals
728:47: E251 unexpected spaces around keyword / parameter equals
728:49: E251 unexpected spaces around keyword / parameter equals
728:69: E251 unexpected spaces around keyword / parameter equals
728:71: E251 unexpected spaces around keyword / parameter equals
750:1: E302 expected 2 blank lines, found 1
750: D103 Missing docstring in public function
757:1: E302 expected 2 blank lines, found 1
757: D103 Missing docstring in public function
778:14: E701 multiple statements on one line (colon)
786:42: E701 multiple statements on one line (colon)
803:37: E701 multiple statements on one line (colon)
809:5: E303 too many blank lines (2)
814:1: E302 expected 2 blank lines, found 1
814: D202 No blank lines allowed after function docstring (found 1)
814: D400 First line should end with a period (not 'r')
825:8: E221 multiple spaces before operator
844:1: E302 expected 2 blank lines, found 1
844: D103 Missing docstring in public function
848:8: E221 multiple spaces before operator


1: M100 needs more reviewers
1: M101 signature is missing
1: M111 unrecognized component name: legacy


1: M100 needs more reviewers
1: M101 signature is missing
1: M111 unrecognized component name: elasticsearch


1: D400 First line should end with a period (not 'd')
1: D205 1 blank line required between summary line and description (found 0)
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: E402 module level import not at top of file
24:1: E402 module level import not at top of file
25:1: I101 Imported names are in the wrong order. Should be CFG_CERN_SITE, CFG_SITE_LANG, CFG_SITE_URL
25:1: I201 Missing newline before sections or imports.
25:1: E402 module level import not at top of file
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
28:1: E402 module level import not at top of file
31:25: E126 continuation line over-indented for hanging indent
33:1: E302 expected 2 blank lines, found 1
33: D210 No whitespaces allowed surrounding docstring text
33: D203 1 blank line required before class docstring (found 0)
33: D400 First line should end with a period (not 's')
36: D400 First line should end with a period (not 'e')
36: D208 Docstring is over-indented
36: D200 One-line docstring should fit on one line with quotes (found 3)
47: D209 Multi-line docstring closing quotes should be on a separate line
47: D400 First line should end with a period (not 'l')
47: D205 1 blank line required between summary line and description (found 0)
47: D208 Docstring is over-indented
50:9: F841 local variable '_' is assigned to but never used
55: D401 First line should be in imperative mood ('Draw', not 'Draws')
55: D400 First line should end with a period (not 'r')
55: D205 1 blank line required between summary line and description (found 0)
55: D208 Docstring is over-indented
73:5: E303 too many blank lines (2)
73: D401 First line should be in imperative mood ('Draw', not 'Draws')
73: D400 First line should end with a period (not 'r')
73: D205 1 blank line required between summary line and description (found 0)
73: D208 Docstring is over-indented
87: D401 First line should be in imperative mood ('Draw', not 'Draws')
87: D400 First line should end with a period (not 'r')
87: D205 1 blank line required between summary line and description (found 0)
87: D208 Docstring is over-indented
99: D209 Multi-line docstring closing quotes should be on a separate line
99: D400 First line should end with a period (not 'l')
99: D205 1 blank line required between summary line and description (found 0)
99: D208 Docstring is over-indented
112: D102 Missing docstring in public method
127: D401 First line should be in imperative mood ('Draw', not 'Draws')
127: D400 First line should end with a period (not 'x')
127: D205 1 blank line required between summary line and description (found 0)
127: D208 Docstring is over-indented
146: D401 First line should be in imperative mood ('Draw', not 'Draws')
146: D400 First line should end with a period (not 'x')
146: D205 1 blank line required between summary line and description (found 0)
146: D208 Docstring is over-indented
164: D401 First line should be in imperative mood ('Draw', not 'Draws')
164: D400 First line should end with a period (not 's')
164: D205 1 blank line required between summary line and description (found 0)
164: D208 Docstring is over-indented
197: D401 First line should be in imperative mood ('Draw', not 'Draws')
197: D400 First line should end with a period (not 't')
197: D205 1 blank line required between summary line and description (found 0)
197: D208 Docstring is over-indented
241:79: E502 the backslash is redundant between brackets
242:74: E502 the backslash is redundant between brackets
245:95: E502 the backslash is redundant between brackets
246:86: E502 the backslash is redundant between brackets
247:87: E502 the backslash is redundant between brackets
254:5: E303 too many blank lines (2)
254: D401 First line should be in imperative mood ('Draw', not 'Draws')
254: D209 Multi-line docstring closing quotes should be on a separate line
254: D400 First line should end with a period (not 'x')
254: D205 1 blank line required between summary line and description (found 0)
254: D208 Docstring is over-indented
259:9: F841 local variable '_' is assigned to but never used
268:42: E261 at least two spaces before inline comment
268:43: E262 inline comment should start with '# '
272:31: F841 local variable 'e' is assigned to but never used
280: D401 First line should be in imperative mood ('Return', not 'Returns')
280: D400 First line should end with a period (not ':')
280: D205 1 blank line required between summary line and description (found 0)
289:9: F841 local variable '_' is assigned to but never used
294:18: E225 missing whitespace around operator
296:18: E127 continuation line over-indented for visual indent
299: D401 First line should be in imperative mood ('Output', not 'Outputs')
299: D400 First line should end with a period (not 'o')
306: D401 First line should be in imperative mood ('Output', not 'Outputs')
306: D400 First line should end with a period (not 'o')
313: D401 First line should be in imperative mood ('Output', not 'Outputs')
313: D400 First line should end with a period (not 's')
315:9: F841 local variable '_' is assigned to but never used
322: D401 First line should be in imperative mood ('Print', not 'Prints')
322: D209 Multi-line docstring closing quotes should be on a separate line
322: D400 First line should end with a period (not 't')
322: D205 1 blank line required between summary line and description (found 0)
322: D208 Docstring is over-indented
336: D401 First line should be in imperative mood ('Print', not 'Prints')
336: D400 First line should end with a period (not 'e')
338:9: F841 local variable '_' is assigned to but never used
343: D102 Missing docstring in public method
347: D400 First line should end with a period (not 'n')
360:15: E221 multiple spaces before operator
377: D401 First line should be in imperative mood ('Print', not 'Prints')
377: D400 First line should end with a period (not ',')
377: D205 1 blank line required between summary line and description (found 0)
406: D102 Missing docstring in public method
408:22: E711 comparison to None should be 'if cond is not None:'
415: D102 Missing docstring in public method
418: D102 Missing docstring in public method
424:21: E711 comparison to None should be 'if cond is not None:'
429: D102 Missing docstring in public method
435:21: E711 comparison to None should be 'if cond is not None:'
440: D102 Missing docstring in public method
443: D102 Missing docstring in public method
446: D400 First line should end with a period (not 'y')
449:65: E502 the backslash is redundant between brackets
451:46: E231 missing whitespace after ':'
457:34: E127 continuation line over-indented for visual indent
459: D102 Missing docstring in public method
467: D102 Missing docstring in public method
471: D102 Missing docstring in public method
474: D102 Missing docstring in public method
477: D102 Missing docstring in public method
483: D102 Missing docstring in public method
489: D401 First line should be in imperative mood ('construct', not 'constructs')
489: D400 First line should end with a period (not 'r')
492:26: E711 comparison to None should be 'if cond is None:'
508:68: E502 the backslash is redundant between brackets
510:49: E231 missing whitespace after ':'
515:68: E502 the backslash is redundant between brackets
517:49: E231 missing whitespace after ':'
527: D102 Missing docstring in public method
534: D401 First line should be in imperative mood ('Write', not 'Writes')
534: D400 First line should end with a period (not 's')
578: D401 First line should be in imperative mood ('Create', not 'Creates')
578: D205 1 blank line required between summary line and description (found 0)
603: D102 Missing docstring in public method
607: D400 First line should end with a period (not 'u')
607: D208 Docstring is over-indented
607: D200 One-line docstring should fit on one line with quotes (found 3)
620:70: E502 the backslash is redundant between brackets
624:72: E502 the backslash is redundant between brackets
625:38: E128 continuation line under-indented for visual indent
626:38: E128 continuation line under-indented for visual indent
627:38: E128 continuation line under-indented for visual indent
628:70: E502 the backslash is redundant between brackets
632:70: E502 the backslash is redundant between brackets
636:73: E502 the backslash is redundant between brackets
641:63: E203 whitespace before ','
644:23: E711 comparison to None should be 'if cond is not None:'
646:23: E126 continuation line over-indented for hanging indent
654: D401 First line should be in imperative mood ('Convert', not 'Converts')
654: D400 First line should end with a period (not 's')
654: D205 1 blank line required between summary line and description (found 0)
665: D401 First line should be in imperative mood ('format', not 'formats')
665: D400 First line should end with a period (not 't')
665: D205 1 blank line required between summary line and description (found 0)
671:17: E711 comparison to None should be 'if cond is None:'
675: D102 Missing docstring in public method
676:17: E711 comparison to None should be 'if cond is None:'
680: D102 Missing docstring in public method
681:25: E711 comparison to None should be 'if cond is None:'
684:16: E127 continuation line over-indented for visual indent
685:16: E127 continuation line over-indented for visual indent
687: D102 Missing docstring in public method
698: D400 First line should end with a period (not 'w')
698: D205 1 blank line required between summary line and description (found 0)
698: D208 Docstring is over-indented
710:21: E126 continuation line over-indented for hanging indent
711:28: E203 whitespace before ':'
712:17: E121 continuation line under-indented for hanging indent
725:22: E203 whitespace before ':'
726:28: E203 whitespace before ':'
727:8: E122 continuation line missing indentation or outdented
729: D400 First line should end with a period (not 'e')
729: D205 1 blank line required between summary line and description (found 0)
750:16: E713 test for membership should be 'not in'


1: M100 needs more reviewers
1: M101 signature is missing


32: D103 Missing docstring in public function
43: D103 Missing docstring in public function
47: D103 Missing docstring in public function


1: M111 unrecognized component name: elasticsearch


42: D103 Missing docstring in public function
53: D103 Missing docstring in public function
59: D103 Missing docstring in public function


60: D103 Missing docstring in public function
72: D103 Missing docstring in public function
83: D103 Missing docstring in public function
89: D103 Missing docstring in public function


1: M100 needs more reviewers
1: M101 signature is missing
1: M111 unrecognized component name: elasticsearch
1: M191 must not end with a dot '.'


1: D210 No whitespaces allowed surrounding docstring text
1: D400 First line should end with a period (not 's')
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import math should be before import time
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import cgi should be before import shutil
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: I201 Missing newline before sections or imports.
32:1: E402 module level import not at top of file
36:1: I101 Imported names are in the wrong order. Should be datetime_format, run_sql
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from six
36:1: E402 module level import not at top of file
37:1: I101 Imported names are in the wrong order. Should be CFG_COMMENTSDIR, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_WEBALERT_ALERT_ENGINE_EMAIL, CFG_WEBCOMMENT_ADMIN_NOTIFICATION_LEVEL, CFG_WEBCOMMENT_ALERT_ENGINE_EMAIL, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBCOMMENT_ALLOW_SHORT_REVIEWS, CFG_WEBCOMMENT_DEFAULT_MODERATOR, CFG_WEBCOMMENT_EMAIL_REPLIES_TO, CFG_WEBCOMMENT_MAX_COMMENT_THREAD_DEPTH, CFG_WEBCOMMENT_NB_REPORTS_BEFORE_SEND_EMAIL_TO_ADMIN, CFG_WEBCOMMENT_RESTRICTION_DATAFIELD, CFG_WEBCOMMENT_ROUND_DATAFIELD, CFG_WEBCOMMENT_TIMELIMIT_PROCESSING_COMMENTS_IN_SECONDS
37:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.dbquery
37:1: E402 module level import not at top of file
56:1: E402 module level import not at top of file
59:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.mail
59:1: E402 module level import not at top of file
60:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info
60:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
60:1: E402 module level import not at top of file
61:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_datetext, convert_datetext_to_dategui, datetext_default
61:1: E402 module level import not at top of file
62:29: E126 continuation line over-indented for hanging indent
64:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.utils.date
64:1: E402 module level import not at top of file
65:1: E402 module level import not at top of file
66:1: I101 Imported names are in the wrong order. Should be gettext_set_language, wash_language
66:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.logging
66:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
68:1: I201 Missing newline before sections or imports.
68:1: E402 module level import not at top of file
71:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from .config
71:1: E402 module level import not at top of file
72:1: E402 module level import not at top of file
73:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, guess_primary_collection_of_a_record
73:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.modules.access.models
73:1: E402 module level import not at top of file
77:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
77:1: E402 module level import not at top of file
78:1: E402 module level import not at top of file
82:1: B901 blind except: statement
86: D401 First line should be in imperative mood ('Return', not 'Returns')
86: D205 1 blank line required between summary line and description (found 0)
141:29: E271 multiple spaces after keyword
229:33: E261 at least two spaces before inline comment
230:15: E271 multiple spaces after keyword
231:49: E203 whitespace before ':'
233:49: E203 whitespace before ':'
233:51: E202 whitespace before ']'
234:14: E261 at least two spaces before inline comment
248:79: E261 at least two spaces before inline comment
255:8: E114 indentation is not a multiple of four (comment)
334:84: E502 the backslash is redundant between brackets
334:84: E251 unexpected spaces around keyword / parameter equals
336:88: E502 the backslash is redundant between brackets
336:88: E251 unexpected spaces around keyword / parameter equals
341:1: E302 expected 2 blank lines, found 1
341: D400 First line should end with a period (not 'w')
341: D205 1 blank line required between summary line and description (found 0)
367:1: E302 expected 2 blank lines, found 1
367: D210 No whitespaces allowed surrounding docstring text
367: D400 First line should end with a period (not 's')
367: D205 1 blank line required between summary line and description (found 0)
396:1: E302 expected 2 blank lines, found 1
396: D210 No whitespaces allowed surrounding docstring text
396: D400 First line should end with a period (not 's')
396: D205 1 blank line required between summary line and description (found 0)
419:1: E302 expected 2 blank lines, found 1
419: D210 No whitespaces allowed surrounding docstring text
419: D401 First line should be in imperative mood ('Check', not 'Checks')
419: D400 First line should end with a period (not 'd')
419: D205 1 blank line required between summary line and description (found 0)
441:1: E302 expected 2 blank lines, found 1
441: D400 First line should end with a period (not 'n')
441: D200 One-line docstring should fit on one line with quotes (found 3)
450:1: E302 expected 2 blank lines, found 1
450: D200 One-line docstring should fit on one line with quotes (found 3)
456:10: E222 multiple spaces after operator
458:49: E231 missing whitespace after ','
461:1: E302 expected 2 blank lines, found 1
461: D205 1 blank line required between summary line and description (found 0)
525:17: E127 continuation line over-indented for visual indent
525:18: E201 whitespace after '{'
525:44: E203 whitespace before ':'
526:44: E203 whitespace before ':'
527:44: E203 whitespace before ':'
528:44: E203 whitespace before ':'
529:44: E203 whitespace before ':'
530:44: E203 whitespace before ':'
531:80: E502 the backslash is redundant between brackets
531:44: E203 whitespace before ':'
532:47: E127 continuation line over-indented for visual indent
532:130: E502 the backslash is redundant between brackets
534:44: E203 whitespace before ':'
535:44: E203 whitespace before ':'
536:44: E203 whitespace before ':'
537:44: E203 whitespace before ':'
538:80: E502 the backslash is redundant between brackets
538:44: E203 whitespace before ':'
540:44: E203 whitespace before ':'
541:44: E203 whitespace before ':'
541:65: E225 missing whitespace around operator
541:84: E225 missing whitespace around operator
542:44: E203 whitespace before ':'
542:64: E261 at least two spaces before inline comment
542:65: E262 inline comment should start with '# '
543:17: E124 closing bracket does not match visual indentation
551:1: E302 expected 2 blank lines, found 1
551: D210 No whitespaces allowed surrounding docstring text
551: D401 First line should be in imperative mood ('Check', not 'Checks')
551: D400 First line should end with a period (not 't')
551: D205 1 blank line required between summary line and description (found 0)
573:1: E302 expected 2 blank lines, found 1
573: D400 First line should end with a period (not 'n')
573: D205 1 blank line required between summary line and description (found 0)
582:28: E127 continuation line over-indented for visual indent
583:24: E127 continuation line over-indented for visual indent
593: D400 First line should end with a period (not 'r')
593: D205 1 blank line required between summary line and description (found 0)
616:1: E302 expected 2 blank lines, found 1
616: D400 First line should end with a period (not 't')
616: D205 1 blank line required between summary line and description (found 0)
628:28: E127 continuation line over-indented for visual indent
629:24: E127 continuation line over-indented for visual indent
641:17: E225 missing whitespace around operator
646:1: E302 expected 2 blank lines, found 1
646: D400 First line should end with a period (not 't')
646: D205 1 blank line required between summary line and description (found 0)
667:1: E302 expected 2 blank lines, found 1
667: D400 First line should end with a period (not 'n')
667: D205 1 blank line required between summary line and description (found 0)
679:17: E225 missing whitespace around operator
692:1: E302 expected 2 blank lines, found 1
692: D400 First line should end with a period (not 'n')
692: D205 1 blank line required between summary line and description (found 0)
714:22: E201 whitespace after '{'
714:31: E203 whitespace before ':'
714:17: E222 multiple spaces after operator
715:31: E203 whitespace before ':'
716:31: E203 whitespace before ':'
717:31: E203 whitespace before ':'
718:31: E203 whitespace before ':'
719:31: E203 whitespace before ':'
720:21: E124 closing bracket does not match visual indentation
726:9: B901 blind except: statement
736:5: B901 blind except: statement
743:24: E127 continuation line over-indented for visual indent
744:24: E127 continuation line over-indented for visual indent
758:38: E203 whitespace before ':'
759:23: E122 continuation line missing indentation or outdented
759:38: E203 whitespace before ':'
760:1: E128 continuation line under-indented for visual indent
761:1: E128 continuation line under-indented for visual indent
762:23: E122 continuation line missing indentation or outdented
762:38: E203 whitespace before ':'
763:16: E128 continuation line under-indented for visual indent
764:16: E128 continuation line under-indented for visual indent
833:1: E302 expected 2 blank lines, found 1
833: D401 First line should be in imperative mood ('Return', not 'Returns')
833: D400 First line should end with a period (not 'm')
833: D205 1 blank line required between summary line and description (found 0)
865:1: E302 expected 2 blank lines, found 1
865: D400 First line should end with a period (not 'o')
865: D205 1 blank line required between summary line and description (found 0)
873:1: E302 expected 2 blank lines, found 1
873: D400 First line should end with a period (not 'n')
873: D205 1 blank line required between summary line and description (found 0)
983: D400 First line should end with a period (not 'd')
983: D205 1 blank line required between summary line and description (found 0)
994:35: E127 continuation line over-indented for visual indent
1012:1: E302 expected 2 blank lines, found 1
1012: D400 First line should end with a period (not 'r')
1012: D205 1 blank line required between summary line and description (found 0)
1027:9: B901 blind except: statement
1033:1: E302 expected 2 blank lines, found 1
1033: D401 First line should be in imperative mood ('Return', not 'Returns')
1033: D400 First line should end with a period (not ')')
1045:134: E502 the backslash is redundant between brackets
1045:36: E225 missing whitespace around operator
1045:55: E225 missing whitespace around operator
1050:1: E302 expected 2 blank lines, found 1
1050: D400 First line should end with a period (not 's')
1050: D205 1 blank line required between summary line and description (found 0)
1064:5: B901 blind except: statement
1068:1: E302 expected 2 blank lines, found 1
1082:5: B901 blind except: statement
1088:1: E302 expected 2 blank lines, found 1
1088: D401 First line should be in imperative mood ('Return', not 'Returns')
1088: D400 First line should end with a period (not 's')
1088: D205 1 blank line required between summary line and description (found 0)
1110:1: E302 expected 2 blank lines, found 1
1110: D401 First line should be in imperative mood ('Return', not 'Returns')
1153:21: F821 undefined name 'get_collection_reclist'
1158:24: E713 test for membership should be 'not in'
1160:58: E502 the backslash is redundant between brackets
1165:49: E502 the backslash is redundant between brackets
1167:49: E502 the backslash is redundant between brackets
1168:72: E202 whitespace before ')'
1170:1: E302 expected 2 blank lines, found 1
1170: D205 1 blank line required between summary line and description (found 0)
1217:25: E126 continuation line over-indented for hanging indent
1221:25: E126 continuation line over-indented for hanging indent
1288:1: E302 expected 2 blank lines, found 1
1288: D401 First line should be in imperative mood ('Return', not 'Returns')
1288: D400 First line should end with a period (not 'd')
1288: D205 1 blank line required between summary line and description (found 0)
1308:21: F821 undefined name 'get_collection_reclist'
1319:21: F821 undefined name 'get_collection_reclist'
1327:1: E302 expected 2 blank lines, found 1
1327: D400 First line should end with a period (not 'n')
1327: D205 1 blank line required between summary line and description (found 0)
1346:22: E231 missing whitespace after ':'
1346:29: E231 missing whitespace after ':'
1346:36: E231 missing whitespace after ':'
1346:43: E231 missing whitespace after ':'
1350:5: B901 blind except: statement
1389:1: E302 expected 2 blank lines, found 1
1389: D401 First line should be in imperative mood ('Get', not 'Gets')
1389: D205 1 blank line required between summary line and description (found 0)
1415:5: E266 too many leading '#' for block comment
1418:19: E261 at least two spaces before inline comment
1418:20: E262 inline comment should start with '# '
1423:13: E266 too many leading '#' for block comment
1432:13: E266 too many leading '#' for block comment
1437:10: E261 at least two spaces before inline comment
1437:11: E262 inline comment should start with '# '
1463:42: E261 at least two spaces before inline comment
1467:45: E261 at least two spaces before inline comment
1491:1: E302 expected 2 blank lines, found 1
1491: D400 First line should end with a period (not 'g')
1491: D200 One-line docstring should fit on one line with quotes (found 3)
1503:70: E502 the backslash is redundant between brackets
1504:17: F812 list comprehension redefines 'comment_round_name' from line 1498
1506:1: E302 expected 2 blank lines, found 1
1506: D400 First line should end with a period (not 'n')
1506: D205 1 blank line required between summary line and description (found 0)
1520:21: E222 multiple spaces after operator
1534:1: E302 expected 2 blank lines, found 1
1534: D400 First line should end with a period (not 'k')
1534: D205 1 blank line required between summary line and description (found 0)
1580:5: F841 local variable 'actions' is assigned to but never used
1583:5: E266 too many leading '#' for block comment
1637:67: E225 missing whitespace around operator
1764:1: E302 expected 2 blank lines, found 1
1764: D401 First line should be in imperative mood ('Send', not 'Sends')
1764: D400 First line should end with a period (not 'D')
1764: D200 One-line docstring should fit on one line with quotes (found 3)
1786:28: F841 local variable 'last_login' is assigned to but never used
1795:5: B901 blind except: statement
1822:10: E201 whitespace after '{'
1822:36: E203 whitespace before ':'
1822:51: E222 multiple spaces after operator
1824:36: E203 whitespace before ':'
1824:51: E222 multiple spaces after operator
1825:36: E203 whitespace before ':'
1826:36: E203 whitespace before ':'
1827:36: E203 whitespace before ':'
1828:36: E203 whitespace before ':'
1829:36: E203 whitespace before ':'
1830:36: E203 whitespace before ':'
1831:36: E203 whitespace before ':'
1832:36: E203 whitespace before ':'
1833:36: E203 whitespace before ':'
1833:60: E231 missing whitespace after ','
1834:36: E203 whitespace before ':'
1835:37: E203 whitespace before ':'
1836:36: E203 whitespace before ':'
1837:9: E124 closing bracket does not match visual indentation
1851:1: E302 expected 2 blank lines, found 1
1851: D400 First line should end with a period (not '0')
1851: D205 1 blank line required between summary line and description (found 0)
1863:5: B901 blind except: statement
1871:26: E231 missing whitespace after ','
1910:1: E302 expected 2 blank lines, found 1
1910: D202 No blank lines allowed after function docstring (found 1)
1910: D400 First line should end with a period (not 'e')
1910: D205 1 blank line required between summary line and description (found 0)
1952:1: E302 expected 2 blank lines, found 1
1952: D401 First line should be in imperative mood ('Return', not 'Returns')
1952: D400 First line should end with a period (not 'e')
1952: D205 1 blank line required between summary line and description (found 0)
1971:1: E302 expected 2 blank lines, found 1
1971: D400 First line should end with a period (not 'n')
1971: D205 1 blank line required between summary line and description (found 0)
1983:5: E266 too many leading '#' for block comment
1984:5: E266 too many leading '#' for block comment
1988:1: E302 expected 2 blank lines, found 1
1988: D400 First line should end with a period (not ',')
1988: D205 1 blank line required between summary line and description (found 0)
2009:15: E271 multiple spaces after keyword
2012:1: E302 expected 2 blank lines, found 1
2012: D400 First line should end with a period (not 'n')
2012: D205 1 blank line required between summary line and description (found 0)
2019:5: E266 too many leading '#' for block comment
2023:1: E302 expected 2 blank lines, found 1
2023: D400 First line should end with a period (not 'e')
2023: D205 1 blank line required between summary line and description (found 0)
2039:1: E302 expected 2 blank lines, found 1
2039: D400 First line should end with a period (not 's')
2039: D205 1 blank line required between summary line and description (found 0)
2046:5: E266 too many leading '#' for block comment
2047:5: E266 too many leading '#' for block comment
2051:1: E302 expected 2 blank lines, found 1
2051: D400 First line should end with a period (not 'e')
2051: D205 1 blank line required between summary line and description (found 0)
2094:1: E302 expected 2 blank lines, found 1
2094: D400 First line should end with a period (not 'e')
2094: D200 One-line docstring should fit on one line with quotes (found 3)
2106:1: E302 expected 2 blank lines, found 1
2106: D400 First line should end with a period (not 'e')
2120:1: E302 expected 2 blank lines, found 1
2155:120: E502 the backslash is redundant between brackets
2159:141: E502 the backslash is redundant between brackets
2162:131: E502 the backslash is redundant between brackets
2168:12: E127 continuation line over-indented for visual indent
2195:5: E303 too many blank lines (2)


1: D400 First line should end with a period (not 'e')
4: L102 copyright year is outdated, expected 2015 but got 2011
23:1: I100 Imports statements are in the wrong order. from pprint should be before from string
24:1: I100 Imports statements are in the wrong order. import os should be before from pprint
29:1: I101 Imported names are in the wrong order. Should be task_low_level_submission, task_update_progress, write_message
30:30: E126 continuation line over-indented for hanging indent
34:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.bibsched.bibtask
35:1: I101 Imported names are in the wrong order. Should be assure_quality, encode_video
38:41: E126 continuation line over-indented for hanging indent
42:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.metadata should be before from invenio.modules.encoder.utils
43:41: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be chose2, generate_timestamp, getval
45:1: F999 redefinition of unused 'chose2' from line 41
46:1: I101 Imported names are in the wrong order. Should be CFG_BIBENCODE_ASPECT_RATIO_MARC_FIELD, CFG_BIBENCODE_DAEMON_DIR_NEWJOBS, CFG_BIBENCODE_PBCORE_MARC_XSLT
46:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.config should be before from invenio.modules.encoder.utils
47:39: E126 continuation line over-indented for hanging indent
51:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.modules.encoder.config
52:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.email
55:1: I100 Imports statements are in the wrong order. import invenio.config should be before from invenio.utils.json
65:1: E302 expected 2 blank lines, found 1
65: D401 First line should be in imperative mood ('Send', not 'Sends')
65: D400 First line should end with a period (not 'g')
65: D205 1 blank line required between summary line and description (found 0)
76:13: E128 continuation line under-indented for visual indent
77:13: E128 continuation line under-indented for visual indent
78:13: E128 continuation line under-indented for visual indent
79:13: E128 continuation line under-indented for visual indent
80:13: E128 continuation line under-indented for visual indent
82:14: E128 continuation line under-indented for visual indent
90:1: E302 expected 2 blank lines, found 1
90: D401 First line should be in imperative mood ('Send', not 'Sends')
90: D205 1 blank line required between summary line and description (found 0)
108:13: E128 continuation line under-indented for visual indent
109:13: E128 continuation line under-indented for visual indent
118:13: E128 continuation line under-indented for visual indent
119:13: E128 continuation line under-indented for visual indent
121:14: E128 continuation line under-indented for visual indent
122:14: E128 continuation line under-indented for visual indent
123:14: E128 continuation line under-indented for visual indent
126:14: E128 continuation line under-indented for visual indent
127:14: E128 continuation line under-indented for visual indent
128:14: E128 continuation line under-indented for visual indent
136:1: E302 expected 2 blank lines, found 1
136: D401 First line should be in imperative mood ('Send', not 'Sends')
136: D205 1 blank line required between summary line and description (found 0)
152:13: E128 continuation line under-indented for visual indent
153:13: E126 continuation line over-indented for hanging indent
159:13: E128 continuation line under-indented for visual indent
160:13: E128 continuation line under-indented for visual indent
162:14: E128 continuation line under-indented for visual indent
163:14: E128 continuation line under-indented for visual indent
164:14: E128 continuation line under-indented for visual indent
167:14: E128 continuation line under-indented for visual indent
168:14: E128 continuation line under-indented for visual indent
169:14: E128 continuation line under-indented for visual indent
177:1: E302 expected 2 blank lines, found 1
177: D210 No whitespaces allowed surrounding docstring text
177: D401 First line should be in imperative mood ('Generate', not 'Generates')
177: D205 1 blank line required between summary line and description (found 0)
177: D208 Docstring is over-indented
188:1: E302 expected 2 blank lines, found 1
188: D210 No whitespaces allowed surrounding docstring text
188: D401 First line should be in imperative mood ('Store', not 'Stores')
188: D400 First line should end with a period (not 's')
188: D205 1 blank line required between summary line and description (found 0)
188: D208 Docstring is over-indented
197:1: E302 expected 2 blank lines, found 1
197: D401 First line should be in imperative mood ('Remove', not 'Removes')
197: D400 First line should end with a period (not 'r')
197: D205 1 blank line required between summary line and description (found 0)
221:25: E128 continuation line under-indented for visual indent
222:25: E128 continuation line under-indented for visual indent
223:25: E128 continuation line under-indented for visual indent
224:25: E128 continuation line under-indented for visual indent
238:1: E302 expected 2 blank lines, found 1
238: D210 No whitespaces allowed surrounding docstring text
238: D401 First line should be in imperative mood ('Create', not 'Creates')
238: D400 First line should end with a period (not 'n')
238: D205 1 blank line required between summary line and description (found 0)
239:29: E126 continuation line over-indented for hanging indent
255:1: E302 expected 2 blank lines, found 1
255: D210 No whitespaces allowed surrounding docstring text
255: D401 First line should be in imperative mood ('Create', not 'Creates')
255: D400 First line should end with a period (not 'a')
255: D205 1 blank line required between summary line and description (found 0)
273:1: E302 expected 2 blank lines, found 1
273: D210 No whitespaces allowed surrounding docstring text
273: D401 First line should be in imperative mood ('Create', not 'Creates')
273: D400 First line should end with a period (not 's')
273: D205 1 blank line required between summary line and description (found 0)
296:1: E302 expected 2 blank lines, found 1
296: D210 No whitespaces allowed surrounding docstring text
296: D401 First line should be in imperative mood ('Create', not 'Creates')
296: D400 First line should end with a period (not 'y')
296: D205 1 blank line required between summary line and description (found 0)
297:21: E126 continuation line over-indented for hanging indent
319:1: E302 expected 2 blank lines, found 1
319: D210 No whitespaces allowed surrounding docstring text
319: D401 First line should be in imperative mood ('Check', not 'Checks')
319: D400 First line should end with a period (not 'y')
319: D205 1 blank line required between summary line and description (found 0)
325: D210 No whitespaces allowed surrounding docstring text
325: D401 First line should be in imperative mood ('Sanitize', not 'Sanitizes')
325: D400 First line should end with a period (not 's')
325: D200 One-line docstring should fit on one line with quotes (found 2)
354:5: E129 visually indented line with same indent as next logical line
356:21: E128 continuation line under-indented for visual indent
372:1: E302 expected 2 blank lines, found 1
372: D210 No whitespaces allowed surrounding docstring text
372: D401 First line should be in imperative mood ('Processe', not 'Processes')
372: D400 First line should end with a period (not 'y')
382: D210 No whitespaces allowed surrounding docstring text
382: D401 First line should be in imperative mood ('Create', not 'Creates')
382: D400 First line should end with a period (not 'd')
382: D200 One-line docstring should fit on one line with quotes (found 2)
385:36: E225 missing whitespace around operator
399:5: E266 too many leading '#' for block comment
402:5: E266 too many leading '#' for block comment
405:5: E266 too many leading '#' for block comment
415:5: E266 too many leading '#' for block comment
430:21: E129 visually indented line with same indent as next logical line
433:21: E266 too many leading '#' for block comment
435:25: E266 too many leading '#' for block comment
436:47: F821 undefined name 'get_fieldvalues'
444:27: E128 continuation line under-indented for visual indent
447:13: E266 too many leading '#' for block comment
450:5: E266 too many leading '#' for block comment
457:5: E266 too many leading '#' for block comment
465:5: E266 too many leading '#' for block comment
468:5: E266 too many leading '#' for block comment
472:5: E266 too many leading '#' for block comment
480:13: E266 too many leading '#' for block comment
481:13: E266 too many leading '#' for block comment
482:13: E266 too many leading '#' for block comment
483:13: E266 too many leading '#' for block comment
485:27: E128 continuation line under-indented for visual indent
487:37: E126 continuation line over-indented for hanging indent
490:13: E266 too many leading '#' for block comment
491:13: E266 too many leading '#' for block comment
495:21: E126 continuation line over-indented for hanging indent
512:28: E128 continuation line under-indented for visual indent
514:9: E266 too many leading '#' for block comment
524:13: E266 too many leading '#' for block comment
532:13: E266 too many leading '#' for block comment
537:13: E266 too many leading '#' for block comment
540:13: E266 too many leading '#' for block comment
541:13: E266 too many leading '#' for block comment
543:50: E126 continuation line over-indented for hanging indent
550:13: E266 too many leading '#' for block comment
552:18: E126 continuation line over-indented for hanging indent
566:53: E261 at least two spaces before inline comment
572:13: E266 too many leading '#' for block comment
573:15: E271 multiple spaces after keyword
574:17: E266 too many leading '#' for block comment
589:47: E127 continuation line over-indented for visual indent
615:25: W503 line break before binary operator
616:25: E128 continuation line under-indented for visual indent
618:28: E128 continuation line under-indented for visual indent
619:28: E128 continuation line under-indented for visual indent
620:28: E126 continuation line over-indented for hanging indent
630:13: E266 too many leading '#' for block comment
632:17: E266 too many leading '#' for block comment
633:17: E266 too many leading '#' for block comment
636:21: E266 too many leading '#' for block comment
637:21: E266 too many leading '#' for block comment
640:21: E266 too many leading '#' for block comment
643:21: E266 too many leading '#' for block comment
647:21: E266 too many leading '#' for block comment
651:21: E266 too many leading '#' for block comment
652:21: E266 too many leading '#' for block comment
656:35: E128 continuation line under-indented for visual indent
659:37: E126 continuation line over-indented for hanging indent
664:13: E266 too many leading '#' for block comment
676:5: E266 too many leading '#' for block comment
680:5: E266 too many leading '#' for block comment
685:9: E266 too many leading '#' for block comment
698:44: E251 unexpected spaces around keyword / parameter equals
698:46: E251 unexpected spaces around keyword / parameter equals
699:50: E251 unexpected spaces around keyword / parameter equals
699:52: E251 unexpected spaces around keyword / parameter equals
700:49: E251 unexpected spaces around keyword / parameter equals
700:51: E251 unexpected spaces around keyword / parameter equals
734:5: E266 too many leading '#' for block comment
744:55: E721 do not compare types, use 'isinstance()'
744:69: E202 whitespace before ')'
754:32: E128 continuation line under-indented for visual indent
755:32: E128 continuation line under-indented for visual indent
756:32: E128 continuation line under-indented for visual indent
758:1: W391 blank line at end of file


22:1: F401 'cgi' imported but unused
23:1: F401 'os' imported but unused
27:1: F401 'HTMLParseError' imported but unused
29:1: F401 'current_app' imported but unused
30:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils
33:1: F401 'wash_language' imported but unused
33:1: F401 'gettext_set_language' imported but unused
35:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
38:1: F401 'register_exception' imported but unused
40:1: F401 'record_get_field_value' imported but unused
40:1: F401 'record_get_field_values' imported but unused
40:1: F401 'record_get_field_instances' imported but unused
40:1: F401 'record_empty' imported but unused
40:1: F401 'record_xml_output' imported but unused
40:1: F401 'create_record' imported but unused
43:1: F401 'acc_authorize_action' imported but unused
45:1: F401 'parse_tag' imported but unused
46:1: F401 'get_kbr_values' imported but unused
47:1: F401 'CFG_HTML_BUFFER_ALLOWED_TAG_WHITELIST' imported but unused
47:1: F401 'CFG_HTML_BUFFER_ALLOWED_ATTRIBUTE_WHITELIST' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_JINJA_TEMPLATE_EXTENSION' imported but unused
51:1: F401 'CFG_BIBFORMAT_OUTPUTS_PATH' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_TEMPLATE_EXTENSION' imported but unused
51:1: F401 'CFG_BIBFORMAT_TEMPLATES_DIR' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_OUTPUT_EXTENSION' imported but unused
55:1: F401 'xslt' imported but unused
61:27: E261 at least two spaces before inline comment
62:28: E114 indentation is not a multiple of four (comment)
62:28: E116 unexpected indentation (comment)
63:28: E114 indentation is not a multiple of four (comment)
63:28: E116 unexpected indentation (comment)
64:28: E114 indentation is not a multiple of four (comment)
64:28: E116 unexpected indentation (comment)
67:28: E114 indentation is not a multiple of four (comment)
67:28: E116 unexpected indentation (comment)
81:33: E225 missing whitespace around operator
166:1: E731 do not assign a lambda expression, use a def
169: D203 1 blank line required before class docstring (found 0)
173: D401 First line should be in imperative mood ('Return', not 'Returns')
173: D400 First line should end with a period (not 's')
253: D401 First line should be in imperative mood ('Filter', not 'Filters')
263: D401 First line should be in imperative mood ('Searche', not 'Searches')
263: D400 First line should end with a period (not 's')
263: D205 1 blank line required between summary line and description (found 0)
289:9: E303 too many blank lines (2)
303:5: E303 too many blank lines (2)


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


1: D100 Missing docstring in public module
21:1: I100 Imports statements are in the wrong order. import shutil should be before import time
25:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBSUBMIT_STORAGEDIR
25:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
26:6: E126 continuation line over-indented for hanging indent
35:6: E126 continuation line over-indented for hanging indent
39:1: I100 Imports statements are in the wrong order. from invenio.modules.access.local_config should be before from invenio.utils
41:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.modules.access.mailcookie
42:1: I100 Imports statements are in the wrong order. from invenio.modules.access.control should be before from invenio.modules.access.engine
43:1: I201 Missing newline before sections or imports.
44:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio_records.api
44:1: I201 Missing newline before sections or imports.
45:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly, warning_page, write_warning
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, isUserSuperAdmin, page_not_authorized
48:29: E126 continuation line over-indented for hanging indent
49:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
49:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.webuser
51:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
52:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, create_navtrail_links, guess_primary_collection_of_a_record, record_exists
53:6: E126 continuation line over-indented for hanging indent
56:1: I101 Imported names are in the wrong order. Should be BibDoc, BibRecDocs, InvenioBibDocFileError, file_strip_ext, get_subformat_from_format, normalize_format, stream_restricted_icon
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio_records.access
56:1: I201 Missing newline before sections or imports.
59:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibdocfile.api
62:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
67:1: I101 Imported names are in the wrong order. Should be create_file_upload_interface, get_upload_file_interface_css, get_upload_file_interface_javascript, move_uploaded_files_to_storage
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.managedocfiles should be before import invenio.legacy.template
67:1: E402 module level import not at top of file
68:6: E126 continuation line over-indented for hanging indent
74: D101 Missing docstring in public class
76: D102 Missing docstring in public method
112:90: E203 whitespace before ':'
114:29: E127 continuation line over-indented for visual indent
114:94: E502 the backslash is redundant between brackets
114:75: E203 whitespace before ':'
114:91: E203 whitespace before ':'
118:56: E502 the backslash is redundant between brackets
119:45: E127 continuation line over-indented for visual indent
119:49: E251 unexpected spaces around keyword / parameter equals
119:51: E251 unexpected spaces around keyword / parameter equals
148:17: E266 too many leading '#' for block comment
149:17: E266 too many leading '#' for block comment
167:13: E266 too many leading '#' for block comment
191:37: E266 too many leading '#' for block comment
192:37: E266 too many leading '#' for block comment
195:45: E128 continuation line under-indented for visual indent
202:107: E203 whitespace before ':'
204:37: E122 continuation line missing indentation or outdented
204:102: E502 the backslash is redundant between brackets
204:83: E203 whitespace before ':'
204:99: E203 whitespace before ':'
205:41: E128 continuation line under-indented for visual indent
266:25: E128 continuation line under-indented for visual indent
266:79: E502 the backslash is redundant between brackets
267:41: E127 continuation line over-indented for visual indent
268:54: E502 the backslash is redundant between brackets
269:25: E128 continuation line under-indented for visual indent
271:25: E126 continuation line over-indented for hanging indent
278:25: E127 continuation line over-indented for visual indent
279:25: E127 continuation line over-indented for visual indent
280:25: E127 continuation line over-indented for visual indent
281:25: E127 continuation line over-indented for visual indent
284: D400 First line should end with a period (not 't')
284: D205 1 blank line required between summary line and description (found 0)
284: D208 Docstring is over-indented
296:1: E302 expected 2 blank lines, found 1
296: D210 No whitespaces allowed surrounding docstring text
296: D202 No blank lines allowed after function docstring (found 1)
296: D400 First line should end with a period (not 's')
305:13: E203 whitespace before ':'
312:13: E266 too many leading '#' for block comment
324:17: E266 too many leading '#' for block comment
339: D101 Missing docstring in public class
343: D400 First line should end with a period (not 'd')
343: D200 One-line docstring should fit on one line with quotes (found 3)
364:22: E126 continuation line over-indented for hanging indent
364:50: E203 whitespace before ':'
365:55: E203 whitespace before ':'
375:9: E122 continuation line missing indentation or outdented
428:96: E128 continuation line under-indented for visual indent
439:50: E502 the backslash is redundant between brackets
459:5: E128 continuation line under-indented for visual indent
467:26: E251 unexpected spaces around keyword / parameter equals
467:28: E251 unexpected spaces around keyword / parameter equals
470:111: E502 the backslash is redundant between brackets
470:34: E251 unexpected spaces around keyword / parameter equals
470:36: E251 unexpected spaces around keyword / parameter equals
471:37: E127 continuation line over-indented for visual indent
472:25: E251 unexpected spaces around keyword / parameter equals
472:27: E251 unexpected spaces around keyword / parameter equals
473:24: E251 unexpected spaces around keyword / parameter equals
473:26: E251 unexpected spaces around keyword / parameter equals
478: D202 No blank lines allowed after function docstring (found 1)
478: D400 First line should end with a period (not 'e')
478: D300 Use """triple double quotes""" (found '-quotes)
493:16: E127 continuation line over-indented for visual indent
497:35: E128 continuation line under-indented for visual indent
498:35: E128 continuation line under-indented for visual indent
508:13: B901 blind except: statement
514:13: B901 blind except: statement
519:17: E128 continuation line under-indented for visual indent
520:17: E128 continuation line under-indented for visual indent
521:17: E128 continuation line under-indented for visual indent


1: M111 unrecognized component name: legacy


3: M190 line is too long (77 > 72)


29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. import tempfile should be before import zlib
36:1: E402 module level import not at top of file
37:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
37:1: E402 module level import not at top of file
38:1: F401 'traceback' imported but unused
38:1: E402 module level import not at top of file
39:1: E402 module level import not at top of file
40:1: I201 Missing newline before sections or imports.
40:1: E402 module level import not at top of file
47:1: I101 Imported names are in the wrong order. Should be cache_exists, delete_cache, delete_hp_change, get_cache, get_cache_post_date, get_record_last_modification_date, get_record_revision_author, uids_with_active_caches, update_cache, update_cache_post_date
47:1: E402 module level import not at top of file
48:5: E128 continuation line under-indented for visual indent
49:5: E128 continuation line under-indented for visual indent
50:5: E128 continuation line under-indented for visual indent
51:1: I101 Imported names are in the wrong order. Should be create_record, create_records, field_add_subfield, field_get_subfield_codes, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_delete_fields, record_get_field_instances, record_get_field_value, record_get_field_values, record_has_field, record_make_all_subfields_volatile, record_modify_controlfield, record_modify_subfield, record_order_subfields, record_strip_empty_fields, record_strip_empty_volatile_subfields, record_xml_output
51:1: E402 module level import not at top of file
59:1: E402 module level import not at top of file
60:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_EXTEND_RECORD_WITH_COLLECTION_TEMPLATE, CFG_BIBEDIT_LOCKLEVEL, CFG_BIBEDIT_QUEUE_CHECK_METHOD, CFG_BIBEDIT_TIMEOUT, CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_PYLIBDIR
60:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
60:1: F401 'CFG_PYLIBDIR' imported but unused
60:1: E402 module level import not at top of file
66:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
68:1: I101 Imported names are in the wrong order. Should be get_bibupload_task_opts, get_info_of_record_revision, get_marcxml_of_record_revision, get_record_revisions
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.db_layer should be before from invenio.utils.text
68:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be get_all_collections_of_a_record, get_record, guess_primary_collection_of_a_record, record_exists
71:1: E402 module level import not at top of file
72:6: E126 continuation line over-indented for hanging indent
74:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
74:1: E402 module level import not at top of file
75:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info, get_user_preferences, list_registered_users
75:1: E402 module level import not at top of file
76:6: E126 continuation line over-indented for hanging indent
77:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.webuser
77:1: E402 module level import not at top of file
78:1: E402 module level import not at top of file
79:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.api should be before from invenio.modules.access.engine
79:1: E402 module level import not at top of file
80:36: E126 continuation line over-indented for hanging indent
82:1: I101 Imported names are in the wrong order. Should be ParseError, transform_file
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.textmarc2xmlmarc should be before from invenio.legacy.refextract.api
82:1: E402 module level import not at top of file
83:1: E402 module level import not at top of file
84:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.registry should be before from invenio.modules.knowledge.api
84:1: E402 module level import not at top of file
87:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.modules.editor.registry
87:1: E402 module level import not at top of file
88:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
94:5: F401 'loads' imported but unused
95:1: E402 module level import not at top of file
115: D101 Missing docstring in public class
118:1: E302 expected 2 blank lines, found 1
118: D203 1 blank line required before class docstring (found 0)
118: D204 1 blank line required after class docstring (found 0)
118: D400 First line should end with a period (not 's')
124:1: E302 expected 2 blank lines, found 1
124: D210 No whitespaces allowed surrounding docstring text
124: D400 First line should end with a period (not 'n')
124: D205 1 blank line required between summary line and description (found 0)
128: D210 No whitespaces allowed surrounding docstring text
128: D400 First line should end with a period (not 'e')
171:1: E302 expected 2 blank lines, found 1
171: D103 Missing docstring in public function
177:1: E302 expected 2 blank lines, found 1
177: D401 First line should be in imperative mood ('Thi', not 'This')
177: D400 First line should end with a period (not 'l')
177: D205 1 blank line required between summary line and description (found 0)
228:1: E302 expected 2 blank lines, found 1
228: D400 First line should end with a period (not 'e')
228: D205 1 blank line required between summary line and description (found 0)
243:1: E302 expected 2 blank lines, found 1
243: D401 First line should be in imperative mood ('Ha', not 'Has')
243: D400 First line should end with a period (not 'y')
243: D205 1 blank line required between summary line and description (found 0)
251:1: E302 expected 2 blank lines, found 1
251: D400 First line should end with a period (not 'l')
251: D205 1 blank line required between summary line and description (found 0)
277:1: E302 expected 2 blank lines, found 1
277: D400 First line should end with a period (not 'e')
277: D205 1 blank line required between summary line and description (found 0)
284:1: E302 expected 2 blank lines, found 1
293:1: E302 expected 2 blank lines, found 1
304:1: E302 expected 2 blank lines, found 1
304: D400 First line should end with a period (not 'n')
304: D205 1 blank line required between summary line and description (found 0)
315:1: E302 expected 2 blank lines, found 1
319:1: E302 expected 2 blank lines, found 1
319: D205 1 blank line required between summary line and description (found 0)
330:1: E302 expected 2 blank lines, found 1
330: D103 Missing docstring in public function
334:1: E302 expected 2 blank lines, found 1
334: D400 First line should end with a period (not 'm')
334: D205 1 blank line required between summary line and description (found 0)
402: D400 First line should end with a period (not 'd')
402: D205 1 blank line required between summary line and description (found 0)
415: D210 No whitespaces allowed surrounding docstring text
415: D400 First line should end with a period (not 'd')
415: D200 One-line docstring should fit on one line with quotes (found 2)
427: D210 No whitespaces allowed surrounding docstring text
427: D400 First line should end with a period (not 'e')
427: D205 1 blank line required between summary line and description (found 0)
450: D400 First line should end with a period (not 'e')
450: D205 1 blank line required between summary line and description (found 0)
480:24: E713 test for membership should be 'not in'
489:1: E302 expected 2 blank lines, found 1
489: D401 First line should be in imperative mood ('Convert', not 'Converts')
489: D400 First line should end with a period (not 'p')
489: D200 One-line docstring should fit on one line with quotes (found 3)
496:1: E302 expected 2 blank lines, found 1
496: D401 First line should be in imperative mood ('Convert', not 'Converts')
496: D400 First line should end with a period (not 'e')
496: D200 One-line docstring should fit on one line with quotes (found 3)
508:1: E302 expected 2 blank lines, found 1
508: D400 First line should end with a period (not 'd')
516:1: E302 expected 2 blank lines, found 1
516: D209 Multi-line docstring closing quotes should be on a separate line
516: D400 First line should end with a period (not 's')
516: D205 1 blank line required between summary line and description (found 0)
516: D208 Docstring is over-indented
529:1: E302 expected 2 blank lines, found 1
529: D205 1 blank line required between summary line and description (found 0)
539:1: E302 expected 2 blank lines, found 1
539: D205 1 blank line required between summary line and description (found 0)
550:1: E302 expected 2 blank lines, found 1
550: D205 1 blank line required between summary line and description (found 0)
557:1: E302 expected 2 blank lines, found 1
557: D205 1 blank line required between summary line and description (found 0)
577:1: E302 expected 2 blank lines, found 1
583:1: E302 expected 2 blank lines, found 1
583: D103 Missing docstring in public function
590:1: E302 expected 2 blank lines, found 1
590: D205 1 blank line required between summary line and description (found 0)
606: D210 No whitespaces allowed surrounding docstring text
606: D205 1 blank line required between summary line and description (found 0)
627:9: E128 continuation line under-indented for visual indent
630:1: E302 expected 2 blank lines, found 1
630: D209 Multi-line docstring closing quotes should be on a separate line
630: D400 First line should end with a period (not ']')
630: D205 1 blank line required between summary line and description (found 0)
630: D208 Docstring is over-indented
669:1: E302 expected 2 blank lines, found 1
669: D401 First line should be in imperative mood ('Return', not 'Returns')
669: D400 First line should end with a period (not ']')
674:1: E302 expected 2 blank lines, found 1
692: D205 1 blank line required between summary line and description (found 0)
700:1: E302 expected 2 blank lines, found 1
713:1: E302 expected 2 blank lines, found 1
753:1: E302 expected 2 blank lines, found 1
771: D400 First line should end with a period (not 's')
771: D205 1 blank line required between summary line and description (found 0)
781:5: F841 local variable 'col_id' is assigned to but never used
793: D210 No whitespaces allowed surrounding docstring text
793: D401 First line should be in imperative mood ('Return', not 'Returns')
793: D400 First line should end with a period (not '0')
793: D205 1 blank line required between summary line and description (found 0)
804:61: E128 continuation line under-indented for visual indent
805:61: E128 continuation line under-indented for visual indent
806:61: E128 continuation line under-indented for visual indent
807:61: E128 continuation line under-indented for visual indent
810: D210 No whitespaces allowed surrounding docstring text
810: D400 First line should end with a period (not 't')
810: D205 1 blank line required between summary line and description (found 0)
825: D210 No whitespaces allowed surrounding docstring text
825: D400 First line should end with a period (not 't')
848:48: E128 continuation line under-indented for visual indent
852:1: E266 too many leading '#' for block comment
854:1: E302 expected 2 blank lines, found 1
854: D400 First line should end with a period (not 'd')
896:1: E266 too many leading '#' for block comment
898:1: E302 expected 2 blank lines, found 1
898: D400 First line should end with a period (not 't')
898: D205 1 blank line required between summary line and description (found 0)
916: D400 First line should end with a period (not 'e')
916: D205 1 blank line required between summary line and description (found 0)
934:5: E122 continuation line missing indentation or outdented
950:36: E127 continuation line over-indented for visual indent
951:36: E127 continuation line over-indented for visual indent
952:36: E127 continuation line over-indented for visual indent
953:36: E127 continuation line over-indented for visual indent
957: D400 First line should end with a period (not 'n')
1013:1: E266 too many leading '#' for block comment
1015: D401 First line should be in imperative mood ('Create', not 'Creates')
1015: D400 First line should end with a period (not 'e')
1015: D205 1 blank line required between summary line and description (found 0)
1030: D400 First line should end with a period (not 'n')
1030: D205 1 blank line required between summary line and description (found 0)
1050: D401 First line should be in imperative mood ('Change', not 'Changes')
1050: D400 First line should end with a period (not ',')
1050: D205 1 blank line required between summary line and description (found 0)
1068:9: E128 continuation line under-indented for visual indent
1078:13: E128 continuation line under-indented for visual indent
1081: D210 No whitespaces allowed surrounding docstring text
1081: D401 First line should be in imperative mood ('Return', not 'Returns')
1081: D400 First line should end with a period (not 'e')
1106:1: E266 too many leading '#' for block comment
1109: D103 Missing docstring in public function
1123:25: E128 continuation line under-indented for visual indent
1162: D401 First line should be in imperative mood ('Load', not 'Loads')
1162: D205 1 blank line required between summary line and description (found 0)
1178:52: E201 whitespace after '{'
1178:62: E203 whitespace before ':'
1178:89: E203 whitespace before ':'
1178:105: E202 whitespace before '}'
1191: D401 First line should be in imperative mood ('Split', not 'Splits')
1191: D400 First line should end with a period (not ':')
1191: D205 1 blank line required between summary line and description (found 0)
1191: D300 Use """triple double quotes""" (found '''-quotes)
1271: D401 First line should be in imperative mood ('Create', not 'Creates')
1271: D400 First line should end with a period (not 'e')
1271: D205 1 blank line required between summary line and description (found 0)
1271: D300 Use """triple double quotes""" (found '''-quotes)
1306: D205 1 blank line required between summary line and description (found 0)
1306: D300 Use """triple double quotes""" (found '''-quotes)


51:1: I100 Imports statements are in the wrong order. import datetime should be before import os
53:1: I101 Imported names are in the wrong order. Should be CFG_SITE_RECORD, CFG_SITE_URL, CFG_WEBDIR
54:6: E126 continuation line over-indented for hanging indent
57:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
58:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibsched.bibtask
58:1: I201 Missing newline before sections or imports.
58:1: F401 'intbitset' imported but unused
59:1: I201 Missing newline before sections or imports.
59:1: F401 'run_sql' imported but unused
60:1: I101 Imported names are in the wrong order. Should be SitemapIndexWriter, SitemapWriter, get_all_public_records, get_config_parameter
60:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibexport.sitemap should be before from invenio.legacy.dbquery
61:6: E126 continuation line over-indented for hanging indent
76:1: E302 expected 2 blank lines, found 1
80:109: E251 unexpected spaces around keyword / parameter equals
80:111: E251 unexpected spaces around keyword / parameter equals
86:43: E225 missing whitespace around operator
101:1: E302 expected 2 blank lines, found 1
101: D400 First line should end with a period (not 's')
112:1: E302 expected 2 blank lines, found 1
134:33: E128 continuation line under-indented for visual indent
134:40: E251 unexpected spaces around keyword / parameter equals
134:42: E251 unexpected spaces around keyword / parameter equals
135:33: E128 continuation line under-indented for visual indent
135:43: E251 unexpected spaces around keyword / parameter equals
135:45: E251 unexpected spaces around keyword / parameter equals
136:33: E128 continuation line under-indented for visual indent
136:41: E251 unexpected spaces around keyword / parameter equals
136:43: E251 unexpected spaces around keyword / parameter equals
141:1: E302 expected 2 blank lines, found 1
159:1: E302 expected 2 blank lines, found 1
159: D401 First line should be in imperative mood ('Delete', not 'Deletes')
159: D209 Multi-line docstring closing quotes should be on a separate line
159: D400 First line should end with a period (not 'n')
159: D205 1 blank line required between summary line and description (found 0)
172:1: E302 expected 2 blank lines, found 1
172: D210 No whitespaces allowed surrounding docstring text
172: D400 First line should end with a period (not 'n')
172: D205 1 blank line required between summary line and description (found 0)
179:5: F841 local variable 'one_month_ago' is assigned to but never used
179:59: E251 unexpected spaces around keyword / parameter equals
179:61: E251 unexpected spaces around keyword / parameter equals
183: D203 1 blank line required before class docstring (found 0)
189:54: E251 unexpected spaces around keyword / parameter equals
189:56: E251 unexpected spaces around keyword / parameter equals
189: D400 First line should end with a period (not 'n')
196: D401 First line should be in imperative mood ('Return', not 'Returns')
196: D400 First line should end with a period (not 'n')
200: D401 First line should be in imperative mood ('Return', not 'Returns')
200: D400 First line should end with a period (not 'n')


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2013


I suggest the following block of code be put in a separate function that could later be reused when calculating distance.