OSIS-641 Fix codeclimate issues
OSIS-641 Fix codeclimate issues

uclouvain/OSIS-Louvain,uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/osis,uclouvain/osis_louvain,uclouvain/osis_louvain,uclouvain/osis,uclouvain/osis_louvain,uclouvain/osis,uclouvain/OSIS-Louvain