Skip to content

Instantly share code, notes, and snippets.

@quanterium
quanterium / pylint_to_gitlab_codeclimate.py
Last active January 31, 2022 22:34 — forked from caryan/pylint_to_gitlab_codeclimate.py
Convert pylint output to simplified CodeClimate JSON suitable for Gitlab Code Quality checks
import hashlib
import json
import sys
from typing import TYPE_CHECKING, Optional
from pylint.interfaces import IReporter
from pylint.reporters import JSONReporter
from pylint.lint import Run
from pylint.message import Message