Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016 2:31:00 PM
Git repo info: branch = master, commit = cb40bc3b4ca7
Python 2.7.12, PyQt version 4.8.7
linux2
pylint: keyLog.py
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "leo/core/leoGlobals.py", line 1924, in run_pylint
lint.Run(args)
File "/usr/local/lib/python2.7/dist-packages/pylint/lint.py", line 1264,
in __init__
linter.read_config_file()
File "/usr/local/lib/python2.7/dist-packages/pylint/config.py", line 627,
in read_config_file
parser.readfp(fp)
File
"/usr/local/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 769, in readfp
self.read_file(fp, source=filename)
File
"/usr/local/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 724, in read_file
self._read(f, source)
File
"/usr/local/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 1101, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
backports.configparser.MissingSectionHeaderError: File contains no section
headers.
file: '/home/swot/leo-editor/leo/test/pylint-leo-rc.txt', line: 1
u'@first # -*- coding: utf-8 -*-\n'
pylint: done 0.23 sec.
在 2016年10月14日星期五 UTC+8下午7:06:48,Edward K. Ream写道:
>
>
>
> On Fri, Oct 14, 2016 at 5:30 AM, zhaohe wang <[email protected]
> <javascript:>> wrote:
>
>> Is the config file: ~/.pylintrc or
>>
>> leo-editor/leo/test/pylint-leo-rc.txt ?
>>
>
> It should be in
>
> leo-editor/leo/test/pylint-leo-rc.txt
>
> EKR
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.