鼻用纸巾自动PEP8检查器
tissue的Python项目详细描述
Tissue集成了在源文件上运行PEP8,因为它们是通过Nose导入的。
安装
pip install tissue
用法
一旦安装了pep8组织,将在源树上运行pep8检查。这个 以下选项可用:
--with-tissue Enable plugin Tissue: Automated PEP8 checked for nose [NOSE_WITH_TISSUE] --tissue-package=PACKAGE Restrict pep8 output to selected packages [NOSE_TISSUE_PACKAGE] --tissue-inclusive Include all python files under working directory in pep8 run. [NOSE_TISSUE_INCLUSIVE] --tissue-repeat Show all occurrences of the same error [NOSE_TISSUE_REPEAT] --tissue-select=ERRORS Select errors and warnings (e.g. E,W6) [NOSE_TISSUE_SELECT] --tissue-ignore=ERRORS Skip errors and warnings (e.g. E,W6) [NOSE_TISSUE_IGNORE] --tissue-show-source Show source code for each error [NOSE_TISSUE_SHOW_SOURCE] --tissue-show-pep8 Show text of PEP 8 for each error [NOSE_TISSUE_SHOW_TISSUE] --tissue-statistics Count errors and warnings [NOSE_TISSUE_STATISTICS] --tissue-fail-on-error Fail the tests when Tissue sees errors [NOSE_TISSUE_ERROR] --tissue-color Show errors and warnings using colors [NOSE_TISSUE_COLOR]
选项映射到同名的PEP8选项(sans前缀)