On 04/04/2017 10:24 AM, Ben Finney wrote:
> Stephen Satchell <l...@satchell.net> writes:
> 
>> I have a python2.7 project, and when I run PyLint 1.5.2, astroid 1.3.3

The fix for my import-order problem, where I got conflicting messages
about where "pexpect" should be in the list, proved to be tedious and
somewhat painful, but it meant I'm using a later version of PyLint.
Loaded a virtual machine with Fedora 25 Workstation Edition and went
with the PyLint provided by that distribution:

        pylint  1.6.4
        astroid 1.4.5
        python  2.7.13

Also, all my import problems went away.  Happy camper here.

Even if I have to now remove the final new-line from my .py files.
Cf.  https://bitbucket.org/logilab/pylint/issue/682
I can live with that.  I end my program files with
        #==30==
to avoid some issues with editors making the last line difficult to edit
for this old guy, so whether the \n is there or not is unimportant.

Just how far behind are the various distributions in their PyLint
versions???

_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to