The config is parsed and if any reporting options are found they are passed in as kwargs. Report object is initialized with the defaults (CONSTANTS....). Subsequently (Lines 40 -42), it is overriden by any kwargs passed in.