Tightened the Codacy rules. There are fixes to the most recent issues.