[PATCH] [cleanup] Wrap comment to 80 characters

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Apr 12 09:43:46 CEST 2017



Le 12/04/2017 à 09:40, Denis Laxalde a écrit :
> Sylvain Thenault a écrit :
>> # HG changeset patch
>> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
>> # Date 1491906348 -7200
>> #      Tue Apr 11 12:25:48 2017 +0200
>> # Node ID 9ca3c5e67aa53bd48b9a2f06d3b18e89eebeab66
>> # Parent  ec729020ad704db9753042161a28d7145877af15
>> [cleanup] Wrap comment to 80 characters
>
> Applied, thanks!
> How about wrapping the whole code base? ;)

fine by me :) Do you know a way to automatize this?

>
>> diff --git a/cubicweb_saem_ref/site_cubicweb.py
>> b/cubicweb_saem_ref/site_cubicweb.py
>> --- a/cubicweb_saem_ref/site_cubicweb.py
>> +++ b/cubicweb_saem_ref/site_cubicweb.py
>> @@ -150,13 +150,13 @@ def get_store(cnx):
>>      else:
>>          from cubicweb.dataimport.stores import NoHookRQLObjectStore
>>          return NoHookRQLObjectStore(cnx, metagen=metagen)
>>
>>
>> -# configure seda compound graph to discard Activity and its
>> relations, else it causes problem
>> -# because it belongs to several graphs with different compound
>> implementation (using "container"
>> -# relation or not)
>> +# configure seda compound graph to discard Activity and its
>> relations, else it
>> +# causes problem because it belongs to several graphs with different
>> compound
>> +# implementation (using "container" relation or not)
>>  seda.GRAPH_SKIP_ETYPES.add('Activity')
>>  # also, the new_version_of relation should not be considered as part
>> of the
>>  # graph (as for e.g. container or clone_of)
>>  seda.GRAPH_SKIP_RTYPES.add('new_version_of')
>>
>>
>

-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the saem-devel mailing list