TeamCity Glyssen :: Glyssen-master Continuous [Build *.*.703.fbc1ac6093ca3f1ba868fee8ebb531a756d4012d](http://build.palaso.org/viewLog.html?buildId=59101&buildTypeId=bt431) outcome was **FAILURE**
Summary: Tests failed: 3, passed: 356, ignored: 3 Build time: 00:01:15
### Failed tests
```
GlyssenTests.dll: GlyssenTests.Character.CharacterGroupTemplateExcelFileTests.GetTemplate_1Actor_1Group: <no details avaliable>

GlyssenTests.dll: GlyssenTests.Character.CharacterGroupTemplateExcelFileTests.GetTemplate_28Actors_28Groups: <no details avaliable>

GlyssenTests.dll: GlyssenTests.Character.CharacterGroupTemplateExcelFileTests.GetTemplate_GroupContainsCharacter: <no details avaliable>

```


You must use bracket notation, when there is *global* namespace, so `namespace {}` is allowed, `namespace;` is not.


"View raw"?


You don't need ?> at the end of the file remove it and put a blank line at the end of the file


raw sounds more like sourcecode (e.g. if it was markdown) to me


@sarkiroka What's happening is that `sandboxed-module` uses `vm.runInNewContext()`:

A cursory check of how this works in the REPL shows the issue

```shell
$ node
> try { vm.runInNewContext('throw new TypeError()') } catch (e) { e instanceof Error }
false
>
```

so.... yeah.  I'm not sure what you're doing with `sandboxed-module`, but if you're just trying to stub a function, look into [Sinon.js](http://www.npmjs.com/package/sinon).  Otherwise, if you need something more powerful, perhaps [rewire](http://www.npmjs.com/package/rewire).


HBIRE_vector_take2 (Myoldmopar) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (650 of 650 tests passed)

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


Hello, @gmichard
Stability ```stable``` does not existe

```xml
<xs:element name="stability">
<xs:annotation>
    <xs:documentation>current module stability: alpha, beta, rc, prod</xs:documentation>
</xs:annotation>
<xs:simpleType>
    <xs:restriction base="xs:string">
        <xs:enumeration value="alpha"/>
        <xs:enumeration value="beta"/>
        <xs:enumeration value="rc"/>
        <xs:enumeration value="prod"/>
        <xs:enumeration value="other"/>
    </xs:restriction>
</xs:simpleType>
</xs:element>
```
Cherrs,


This commit broke all defs for some reason


These IDs are still listed in the [udev rules](https://github.com/TeamAntumbra/libantumbra/blob/master/glow-udev.rules).


use a regular if statement to increase readability. Can you imagine better variable names?


`Conferece` objects don't have `canUserAccess`.


LGTM. Tested using oq-lite on the eb-site-model branch with case 4a, running the hazard and risk jobs separately.


@sarkiroka but you bring up a good point, which is that maybe we shouldn't be using `instanceOf`.


"let the test.check to execute" => "let test.check execute"
also first tests in plural, second is singular


"definetly" typo


Full merge from the master copy.


I'm not sure we actually want to phing, behat or pear/versioncontrol_git here. Panopoly includes (or will include with the phing patch) it's own composer.json files for those, which we could update as we need newer things. I'm planning on having the 'panopoly-kit' script and the phing scripts run them. I think it'd be best for the VM image itself to not have potentially out-dated versions.


I'd love for contracts to be enabled by default everywhere that isn't production. That said, until we enable them in our acceptance tests, we should probably have them off by default in devstack/sandboxes.


Done.


I deserve it, but I've change it so .... :alien:


add a function that swaps case which is called from both branches of the if statement


@KOTRET Filling out `date.timezone` is a good idea. Sadly, some shared hosting users aren't able to change or define the default time zone, which leads to [workarounds](php.net/manual/function.date-default-timezone-get.php#104052):

```
date_default_timezone_set(@date_default_timezone_get());
$f3 = …
```

Should `F3` use this workaround? Should developers fix default time zones for `PHP < 5.4`? Should we still care for `PHP < 5.4`, which is already [**EOL for 10 months**](http://php.net/eol.php)?

After asking the last question, I am willing to give up the `@` suppression. There are still users with `PHP 5.3`, but this issue is so minor and the workaround so easy, we should stop wasting our time.

Thank you all for the comments.


I think it would be better to use static import


assign a reasonable variable name for ord($value)


Possibly. I'll check it out.


I think it would be better to use static import - it is great especially for constants


it's == it is
did you mean the possessive its?


Habe vergessen den Kommentar zum commit zu aendern. Es generiert eine Matrix und macht auch bei Aufgabe 3 was.


Apologies, it should go in ```imgproc/slidingwindow.cpp```, which should be very similar to ```metadata/cascade.cpp``` since I copied most of it from there :)


We must update minimal Grails version to Grails v3.0


Google Summer [of] Code


Wow, nice one. Yes, at some point let's switch to it (right now this list helps to see what is implemented/tested).


1: M111 unrecognized component name: docker


1: M111 unrecognized component name: legacy


30:1: I201 Missing newline before sections or imports.
31:1: I100 Imports statements are in the wrong order. import logging should be before from six
31:1: I201 Missing newline before sections or imports.
33:1: I201 Missing newline before sections or imports.
34:1: I101 Imported names are in the wrong order. Should be current_app, has_app_context
34:1: I100 Imports statements are in the wrong order. from flask should be before import six
34:1: I201 Missing newline before sections or imports.
35:1: I100 Imports statements are in the wrong order. from functools should be before from flask
35:1: I201 Missing newline before sections or imports.
35:1: F401 'wraps' imported but unused
36:1: I101 Imported names are in the wrong order. Should be find_modules, import_string
36:1: I201 Missing newline before sections or imports.
111:13: B901 blind except: statement
224:1: E302 expected 2 blank lines, found 1
228: D102 Missing docstring in public method
231: D102 Missing docstring in public method
239: D102 Missing docstring in public method
242: D102 Missing docstring in public method
246: D401 First line should be in imperative mood ('Run', not 'Runs')
298:23: E222 multiple spaces after operator


use constants to explain the meaning of 65, 90 and 32 and 122 respectively


Thanks for your feedback, I found it very helpful! I think I have addressed everything except for the question you raised here about float precision. I just put 1e-7 in there out of a gut feeling to have something small, not sure how we would systematically test for that kind of precision issue. On the other hand, if such an issue does arise, it is most likely coming from theano, so maybe it is out of scope for us?


str -> unicode


Not to mention the fact that if it was running in multiple processes that the value of that boolean can't really act as a lock.


lol


@yusufameri can you react to the comments... you don't need to change anything, if you can argue why your solution is good as well


As I understood, this version now is placed in `build.gradle`


Consider adding the `course_id` in the error message.


What the error raised is and how it can be raised.


Yeah maybe you can look into babel source more at some point (I don't know that much about it yet either) although documentation isn't that great yet (still working on that stuff).

https://speakerdeck.com/sebmck/javascript-transformation-jsconf-2015


Well again - this is more about having a set standard for UIkit, removing the themes completely and providing hooks (which you already do for the most part) to customize the system to fit the needs of the user when they see fit. Would DRAMATICALLY reduce the footprint of the system and provide more sanity to end-users getting started with customization --- all the way up to users like me who have used the system for quite some time, realize the pitfalls and have proposed what I strongly believe is a better path forward for the project.


To be honest, I did not test that. However, not exiting here runs the danger of two instances running side by side, still.


Why do we calling `toString()` here?


testing? xD


hello


START_STICKY 的话 Service 是不会自动退出的哦


Could you please explain why do we calling `toString()` here?
As I know, all worked well without it.
Is it specific for Grails 3.0


Why was it necessary to pass in these arguments to `CourseFactory`?  The default method call would suffice, no?


订阅功能好顶赞！（想抄 o(*≧▽≦)ツ


no hurry, take your time to add the `__eq__` method.
It would also be better if the second assertion was done in a separate function, so that we have 2 failing tests, as those are two different cases


Should this be `source.html`?


[a] datastructure


As I understood, this prefix `grails.plugin.` was added accidentelly by IDE refactoring. Could I revert this changes?


The name `configureThread` is not good. I will think of something.


Let's pretend it's easter egg. :)


Hi Miles, in my opinion there is one little problem, this implementation is not serializable.
Also when the next code extends serialization :
```scala
sealed trait WeekDay extends Serializable
```
there is another problem with referential integrity, Have a look on  this test pls:
```scala
  val out = new ByteArrayOutputStream()
  new ObjectOutputStream(out).writeObject(Mon);
  out.close();
  val monday = new ObjectInputStream(new ByteArrayInputStream(out.toByteArray)).readObject()
  assert(monday == Mon)
```


That's it @BebZ
Nut @eldy comment it so let take time to explain him how it works


Why gradle dont remove zip files itself when running `clean`?


leider kenne ich die korrekten strings der andere Router nicht...


@datianshi because Joe's interface types changed in the cfenv project and smtp.PlainAuth expects strings


Fixed in 7b34a1cb92fdfe64a5650c9b1b379c96776e6481


@IvanGurtler FYI - just started looking into that - will continue tomorrow.


Would you mind creating a ticket for this ... thanks!


Can't be done this way. For one, dumbly replacing Tabs with two spaces leads to wrong formatting. For example, after a #define there should be only one space.

The other reason is, doing such big changes makes rebasing all the topic branches almost impossible. The same change would have to be done for all commits in all the 35 branches.

And yes, that's a bit unfortunate. All new code goes in with spaces only, so the problem will reduce over time.


Minimal Grail 3.0 supported JDK is 7, so I'm ok with this.


empasized => emphasized


Sorting Algorithms implemented in C++.


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


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


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


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


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


How about getting rid of the complexity introduced by supporting more than one monitor ? That would limit the diff size and be less confusing for the real review.


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


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: 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


2: L102 copyright year is outdated, expected 2015 but got 2012
22:1: I101 Imported names are in the wrong order. Should be error_page, page
22:1: I201 Missing newline before sections or imports.
24:1: I101 Imported names are in the wrong order. Should be gettext_set_language, wash_language
24:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webuser
26:1: I101 Imported names are in the wrong order. Should be CFG_BINDIR, CFG_ETCDIR, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_SECURE_URL
26:1: F401 'CFG_SITE_NAME' imported but unused
27:28: E126 continuation line over-indented for hanging indent
32: D401 First line should be in imperative mood ('check', not 'checks')
32: D400 First line should end with a period (not ')')
38:5: B901 blind except: statement
40:29: F821 undefined name 'check_user'
47: D205 1 blank line required between summary line and description (found 0)
59:17: E128 continuation line under-indented for visual indent
60:17: E128 continuation line under-indented for visual indent
61:17: E128 continuation line under-indented for visual indent
62:17: E128 continuation line under-indented for visual indent
62:25: E251 unexpected spaces around keyword / parameter equals
62:27: E251 unexpected spaces around keyword / parameter equals
63:17: E128 continuation line under-indented for visual indent
64:17: E128 continuation line under-indented for visual indent
65:17: E128 continuation line under-indented for visual indent
71: D210 No whitespaces allowed surrounding docstring text
71: D401 First line should be in imperative mood ('make', not 'makes')
71: D209 Multi-line docstring closing quotes should be on a separate line
71: D205 1 blank line required between summary line and description (found 0)
71: D208 Docstring is over-indented
80:15: E271 multiple spaces after keyword
82:15: E271 multiple spaces after keyword
90:18: E261 at least two spaces before inline comment
90:19: E262 inline comment should start with '# '
112:37: E201 whitespace after '{'
115:39: E127 continuation line over-indented for visual indent
115:104: E202 whitespace before '}'
118:73: E261 at least two spaces before inline comment
118:74: E262 inline comment should start with '# '
147:1: E302 expected 2 blank lines, found 1
147: D400 First line should end with a period (not 'm')
169:13: F841 local variable 'outstr' is assigned to but never used
171:9: B901 blind except: statement
181:17: E128 continuation line under-indented for visual indent
181:22: E251 unexpected spaces around keyword / parameter equals
182:17: E128 continuation line under-indented for visual indent
182:26: E251 unexpected spaces around keyword / parameter equals
183:17: E128 continuation line under-indented for visual indent
184:17: E128 continuation line under-indented for visual indent
184:25: E251 unexpected spaces around keyword / parameter equals
184:27: E251 unexpected spaces around keyword / parameter equals
185:17: E128 continuation line under-indented for visual indent
186:17: E128 continuation line under-indented for visual indent
187:17: E128 continuation line under-indented for visual indent
189:1: E302 expected 2 blank lines, found 1
189: D210 No whitespaces allowed surrounding docstring text
189: D401 First line should be in imperative mood ('create', not 'creates')
189: D209 Multi-line docstring closing quotes should be on a separate line
189: D400 First line should end with a period (not 'o')
189: D205 1 blank line required between summary line and description (found 0)
189: D208 Docstring is over-indented
218:9: E303 too many blank lines (2)
240:17: E128 continuation line under-indented for visual indent
240:22: E251 unexpected spaces around keyword / parameter equals
241:17: E128 continuation line under-indented for visual indent
241:26: E251 unexpected spaces around keyword / parameter equals
242:17: E128 continuation line under-indented for visual indent
243:17: E128 continuation line under-indented for visual indent
243:25: E251 unexpected spaces around keyword / parameter equals
243:27: E251 unexpected spaces around keyword / parameter equals
244:17: E128 continuation line under-indented for visual indent
245:17: E128 continuation line under-indented for visual indent
246:17: E128 continuation line under-indented for visual indent
247:10: E261 at least two spaces before inline comment
247:11: E262 inline comment should start with '# '
250:1: E302 expected 2 blank lines, found 1
250: D401 First line should be in imperative mood ('save', not 'saves')
250: D400 First line should end with a period (not 'e')
279:17: E128 continuation line under-indented for visual indent
279:22: E251 unexpected spaces around keyword / parameter equals
280:17: E128 continuation line under-indented for visual indent
280:26: E251 unexpected spaces around keyword / parameter equals
281:17: E128 continuation line under-indented for visual indent
282:17: E128 continuation line under-indented for visual indent
282:25: E251 unexpected spaces around keyword / parameter equals
282:27: E251 unexpected spaces around keyword / parameter equals
283:17: E128 continuation line under-indented for visual indent
284:17: E128 continuation line under-indented for visual indent
285:17: E128 continuation line under-indented for visual indent
289:1: E302 expected 2 blank lines, found 1
289: D400 First line should end with a period (not 'e')
308:9: B901 blind except: statement
316:17: E128 continuation line under-indented for visual indent
316:22: E251 unexpected spaces around keyword / parameter equals
317:17: E128 continuation line under-indented for visual indent
317:26: E251 unexpected spaces around keyword / parameter equals
318:17: E128 continuation line under-indented for visual indent
319:17: E128 continuation line under-indented for visual indent
319:25: E251 unexpected spaces around keyword / parameter equals
319:27: E251 unexpected spaces around keyword / parameter equals
320:17: E128 continuation line under-indented for visual indent
321:17: E128 continuation line under-indented for visual indent
322:17: E128 continuation line under-indented for visual indent


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


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')