On Jan 31, 2017, at 08:29 AM, Bill D wrote:
>$ cat li.py
>#!/usr/bin/env python
^^
>"""foobar"""
>import os
>print os.listdir(os.curdir)
>
>$ /usr/local/bin//pylint --version
^
It could be you're mixing up your Python interpreter and runtimes.
E.g. runn
Hello Dan:
pylint is fully installed.
Even with the latest pylint the issue still happens:
$ cat li.py
#!/usr/bin/env python
"""foobar"""
import os
print os.listdir(os.curdir)
$ /usr/local/bin//pylint --version
pylint 1.6.5,
astroid 1.4.9
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.
Hello All:
A new data point... I am seeing the issue only on Ubuntu 14.04.
It works fine on Redhat Enterprise Linux Server 6.6.
So it looks like pylint is broken on Ubuntu.
Is there a workaround/fix for Ubuntu 14.04?
Regards,
Bill
On 1/31/2017 8:29 AM, Bill D wrote:
Hello Dan:
pylint is
Hello Jakub:
To fix your issue just do a 'touch ~/pylintrc'
Regards,
Bill
On 1/31/2017 2:44 AM, Jakub Wilk wrote:
* Bill D , 2017-01-30, 17:06:
$ pylint --reports=n li.py
* Module li
F: 3, 0: Unable to import 'os' (import-error)
Very odd. FWIW, I can't reproduce it in a clean T
* Bill D , 2017-01-30, 17:06:
$ pylint --reports=n li.py
* Module li
F: 3, 0: Unable to import 'os' (import-error)
Very odd. FWIW, I can't reproduce it in a clean Trusty environment. I get:
$ pylint --reports=n li.py
No config file found, using default configuration
$ echo $?
0
-
That's a pretty old pylint. Maybe update it?
Is pylint fully or partially installed?
What does "which pylint" say?
--
Dan Stromberg
___
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality
Hello:
I am trying to run a simple 2-line Python script through pylint on
Ubuntu without success (see https://github.com/PyCQA/pylint/issues/1305).
Following are the details. Does anyone know what step I am missing?
Steps to reproduce
$ cat li.py
#!/usr/bin/env python
"""foobar"""
import os