Modification of the source code to take into consideration flake and pylint
recommendations.