2006年02月16日 星期四 19:44
hello pyer:
不知道有没有什么 python的编译工具, 可以用来监测编码错误的。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060216/c6316486/attachment.html
2006年02月16日 星期四 19:58
On 2/16/06, fanlix <fanlix at gmail.com> wrote: > hello pyer: > 不知道有没有什么 python的编译工具, 可以用来监测编码错误的。 pycheck, pyflakes, pylint -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年02月16日 星期四 20:07
thx, I am googling。 能简单评点一下么 在06-2-16,limodou <limodou at gmail.com> 写道: > > On 2/16/06, fanlix <fanlix at gmail.com> wrote: > > hello pyer: > > 不知道有没有什么 python的编译工具, 可以用来监测编码错误的。 > > pycheck, pyflakes, pylint > > -- > I like python! > My Blog: http://www.donews.net/limodou > NewEdit Maillist: http://groups.google.com/group/NewEdit > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060216/6ed0bcff/attachment.htm
2006年02月16日 星期四 20:11
On 2/16/06, fanlix <fanlix at gmail.com> wrote: > thx, > I am googling。 > 能简单评点一下么 > pyflakes 就最小巧,功能也简单多了。 pylint功能最强,运行最慢。pycheck次之。 > > 在06-2-16,limodou <limodou at gmail.com> 写道: > > > > On 2/16/06, fanlix <fanlix at gmail.com> wrote: > > > hello pyer: > > > 不知道有没有什么 python的编译工具, 可以用来监测编码错误的。 > > > > pycheck, pyflakes, pylint -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年02月16日 星期四 20:47
cool tool。
pychecker easy to use. pylint better for project .
here is pylint check result (part)
C:178:config: Invalid name "config" (should match [A-Z_][a-zA-Z0-9]+$)
W:178:config: Missing docstring
W:179:config.__init__: Redefining built-in 'file'
W:186:config.forkroom: Missing docstring
C:187:config.forkroom: Too short name "r"
W:192:config.channel: Missing docstring
C:193:config.channel: Too short name "r"
W:198:config.room2channel: Missing docstring
W:201:config.mkenv: Missing docstring
C:220:ch0: Invalid name "ch0" (should match [A-Z_][a-zA-Z0-9]+$)
W:220:ch0: Missing docstring
C:221:ch0.__init__: Too short name "ip"
W:221:ch0.__init__: Redefining name 'ip' from outer scope (line 249)
W:221:ch0.__init__: Redefining name 'port' from outer scope (line 250)
W:221:ch0.__init__: Redefining name 'cid' from outer scope (line 251)
W:226:ch0.initial: Missing docstring
W:231:ch0.setup_network: Missing docstring
W: 15: Unused import tmqueue
W: 5: Unused import random
W: 3: Unused import instruction
External dependencies
---------------------
::
\-globalmap (ch0)
\-helper (ch0)
\-cfg (ch0)
\-instruction (ch0)
Statistics by type
------------------
type number old number difference %documented %badname
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
module 1 1 = 0.00 0.00
class 5 5 = 0.00 100.00
method 32 32 = 28.12 0.00
function 1 1 = 0.00 0.00
Total errors / warnings
-----------------------
type number previous difference
::::::::::::::::::::::::::::::::::::::
convention 13 13 =
refactor 4 4 =
warning 220 220 =
error 0 0 =
when use pycheck,
pycheck -e XXX.py is the easiest way to check file after edit.
finding pyflakes now.
在06-2-16,limodou <limodou at gmail.com> 写道:
>
> On 2/16/06, fanlix <fanlix at gmail.com> wrote:
> > thx,
> > I am googling。
> > 能简单评点一下么
> >
> pyflakes 就最小巧,功能也简单多了。
> pylint功能最强,运行最慢。pycheck次之。
> >
> > 在06-2-16,limodou <limodou at gmail.com> 写道:
> > >
> > > On 2/16/06, fanlix <fanlix at gmail.com> wrote:
> > > > hello pyer:
> > > > 不知道有没有什么 python的编译工具, 可以用来监测编码错误的。
> > >
> > > pycheck, pyflakes, pylint
>
>
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060216/2380e809/attachment-0001.html
Zeuux © 2025
京ICP备05028076号