Pylint Reporter类以codeChimate格式导出结果
pylint2codeclimate的Python项目详细描述
要以codeChimate格式导出结果的Pylint Reporter类,最初来自 https://github.com/mikebryant/codeclimate-pylint/blob/master/codeclimate_reporter.py
它可以用于gitlab-ci.yml阶段,例如:
codequality: stage: test script: - pip install pylint2codeclimate pylint - pylint -f pylint2codeclimate.CodeClimateReporter *.py > codeclimate.json artifacts: when: always paths: [codeclimate.json]