Is the config file: ~/.pylintrc or leo-editor/leo/test/pylint-leo-rc.txt ?
在 2016年10月14日星期五 UTC+8下午4:36:45,Edward K. Ream写道: > > > > On Thu, Oct 13, 2016 at 7:06 PM, zhaohe wang <[email protected] > <javascript:>> wrote: > > QQQ > *When I run pylint in leo-editor: Alt X, follow error occurred:* > [snip] > UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 2297: > invalid start byte > > *Simply run pylint in console:* > > swot@pp:~/app$ pylint keyLog.py > No config file found, using default configuration > QQQ > > The error occurs when processing the config file, so there is no error if > the config file isn't found. > > Somehow the Leo's pylint file *is* finding a config file. Try putting a > line like the following at the start of your config file: > > @first # -*- coding: utf-8 -*- > > HTH. > > Edward > -- 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.
