你的医生
affinitic.docpyflakes的Python项目详细描述
简介
检查你的医生有没有各种错误。取决于pyflakes(http://pypi.python.org/pypi/pyflakes)。
用法示例:
docpyflakes yourdoctext.txt
这个包有一个buildout入口点,可以通过:
[buildout] parts = ... scripts [scripts] recipe = zc.recipe.egg:scripts eggs = affinitic.docpyflakes
vim
我的vim配置集成可以在处理doctest时运行docpyflakes并快速处理错误:
fun! PyflakesForDocTest() let tmpfile = tempname() execute "w" tmpfile execute "set makeprg=(docpyflakes\\ " . tmpfile . "\\\\\\|sed\\ s@" . tmpfile ."@%@)" make cw redraw! endfun autocmd BufWrite *.{txt} :call PyflakesForDocTest()
emacs
学习VIM
更改日志
0.1(2010-02-19)
- 初始版本