rpmlint的Codeclimate解析器
项目描述
rpmlint-codeclimate
本项目提供了一个基于Python的解析器,用于将rpmlint转换为CodeClimate格式报告,主要为了在Gitlab CI/CD管道中使用rpmlint。
安装
python -m pip install rpmlint-codeclimate
使用方法
只需将rpmlint --info
的输出通过管道传递给rpmlint_codeclimate
模块。
rpmlint --info *.rpm | python -m rpmlint_codeclimate