注意你的语言,小伙子!诅咒林特。
flake8-koles的Python项目详细描述
片状8 KOLE
注意你的语言,年轻的朋友!
用于检查错误语言出现的Flake8扩展。列出代码中找到的所有发誓及其位置。 目前只支持英语和波兰语。
安装
安装需要flake8>;=3.3.0。
pip install flake8-koles
用法
flake8 --ignore-shorties 4 --censor-msg --lang=english,polish --ignore-swears=very,bad,words
选项
OPTION | DEFAULT | DESCRIPTION |
---|---|---|
^{ | False | replace swears not leading letters with ^{ |
^{ | 0 | ignore swears shorter or equal to the argument |
^{ | explicitly pass swears to ignore | |
^{ | english | use swears from the selected languages |
上面的选项也可以在setup.cfg
文件中指定。
开发说明
生成文件命令
COMMAND | DESCRIPTION |
---|---|
^{ | generate and open html coverage report in the default browser |
^{ | run flake8 |
^{ | run mypy |
^{ | run all linters |
^{ | run safety check |
^{ | run unittests with coverage report |
^{ | run yamllint |