Re [Svnmerge] Noisy pychecker on svnmerge.py
Giovanni Bajo
rasky at develer.com
Wed Apr 12 04:41:42 PDT 2006
Madan U S <madan at collab.net> wrote:
>> $ pychecker --version
>> $ pychecker svnmerge.py
>> svnmerge.py:85: Statement appears to have no effect
>> svnmerge.py:87: (False) shadows builtin
>> svnmerge.py:87: (True) shadows builtin
>> svnmerge.py:225: Using is None, may not always work
>> svnmerge.py:405: Using is not None, may not always work
>> svnmerge.py:411: Using is not None, may not always work
>> svnmerge.py:597: tempfile.mktemp is deprecated
>> svnmerge.py:631: Using is not None, may not always work
>> svnmerge.py:793: No global (opts) found
>> svnmerge.py:814: Using is None, may not always work
>> svnmerge.py:959: Parameter (branch_props) not used
>> svnmerge.py:1114: Parameter (branch_props) not used
>> svnmerge.py:1147: Parameter (branch_props) not used
>> svnmerge.py:1218: Using is not None, may not always work
>> svnmerge.py:1231: Using is None, may not always work
>> svnmerge.py:1232: Using is not None, may not always work
>> svnmerge.py:1239: Using is not None, may not always work
>> svnmerge.py:1260: Local variable (command_table) shadows global defined
>> on line 1576
>> svnmerge.py:1261: Local variable (global_opts) shadows global defined on
>> line 1476
>> svnmerge.py:1262: Local variable (common_opts) shadows global defined on
>> line 1500
>> svnmerge.py:1278: Using is not None, may not always work
>> svnmerge.py:1290: Using is not None, may not always work
>> svnmerge.py:1364: Using is None, may not always work
>> svnmerge.py:1405: Using is not None, may not always work
>> svnmerge.py:1414: Using is None, may not always work
>> svnmerge.py:1423: Using is not None, may not always work
>>
>> I cleaned up a few today already, but I've got other work to do now :)
>
> Okay... I see that the number has visibly reduced now. How should I make
> patches fixing these... as a single patch, or as individual fixes?
Last time I checked, many were bogus ones. For instance, I'm opposed to
avoid the "is [not] None" paradigm.
--
Giovanni Bajo
More information about the Svnmerge
mailing list