lizard,mypy,flake8,shellcheck

https://github.com/koalaman/shellcheck
https://flake8.pycqa.org/en/latest/
https://mypy.readthedocs.io/en/stable/getting_started.html
https://github.com/terryyin/lizard

shellcheck -f json xxx.sh
flake8 --count --disable-noqa --statistics --exit-zero --output-file=" L O G F L A K E 8 R E P O R T " − − t e e − − m a x − l i n e − l e n g t h = 89 − − m a x − c o m p l e x i t y = 15 − − f i l e n a m e = ∗ . p y − − e x c l u d e = " {LOG_FLAKE8_REPORT}" --tee --max-line-length=89 --max-complexity=15 --filename=*.py --exclude=" LOGFLAKE8REPORT"teemaxlinelength=89maxcomplexity=15filename=.pyexclude="{flake8_exclude_pattern}"

flake8_exclude_pattern=".svn,CVS,.bzr,.hg,.git,pycache,.tox,.eggs,*.egg,cpplint.py,cpplint_mod.py,cpplint_createrules.py"

mypy --strict --show-error-codes --show-column-numbers xx.py

lizard xx.py

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值