pygments 2.12.0 changed the signature of the HtmlFormatter.wrap() method. As we don't actually care about the arguments to wrap we can use packing/unpacking to maintain compatability with older versions of pygments.
cppcheck-htmlreport This is a little utility to generate a html report of a XML file produced by cppcheck. The utility is implemented in Python (2.7+) and requires the pygments module to generate syntax highlighted source code. If you are using a Debian based Linux system, the pygments package can be installed by following command: $ sudo apt-get install python-pygments For more information run './cppcheck-htmlreport --help'