This is an automated notification sent by LCG Savannah.
It relates to:
task #15507, project CDS Invenio
==============================================================================
OVERVIEW of task #15507:
==============================================================================
URL:
<http://savannah.cern.ch/task/?15507>
Summary: kwalitee doesn't support multi-line formatted
docstrings
Project: CDS Invenio
Submitted by: vengmark
Submitted on: 2010-05-17 09:41
Should Start On: 2010-05-17 00:00
Should be Finished on: 2010-05-17 00:00
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
>From shell output of `python kwalitee.py --check-docstrings
modules/webtag/lib/*.py`:
+---------------------------------------------------------------------
| File /home/user/src/cds-invenio/modules/webtag/lib/
| webtag_config.py, line 24, in webtag_config.TAG_MAX_LENGTH
| Warning: Line 24: Unbalanced '{'.
|
| ...of the max length: C{select floor((1000 ...
| ^
| Warning: Lines 28, 29, 34, 35, 36, 37: Improper paragraph
| indentation.
| Warning: Line 38: Unbalanced '}'.
|
| ;} Using utf8_bin col...
| ^
Here's the relevant block:
TAG_MAX_LENGTH = 331
"""MySQL doesn't support unique constraints of more than 1000 bytes total
(user + record + tag). Since the tag can contain 3-byte Unicode characters,
it's limited to allow Unicode strings of the max length:
C{select floor((1000 - sum(
case data_type
when 'tinyint' then 1
when 'smallint' then 2
when 'mediumint' then 3
when 'int' then 4
when 'bigint' then 5
end)) / 3)
from information_schema.columns
where table_name = 'tagTAG' and
column_name in ('id_bibrec', 'id_user')
;}
Using utf8_bin collation to treat tags as case and umlaut sensitive. I.e.,
treat
'uber', 'über', 'Über' and 'UBER' as four different tags."""
Ref http://epydoc.sourceforge.net/epytext.html, which says "Inline markup may
be nested; and it may span multiple lines."
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
3964 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?15507>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/