Added flake8 flag to ignore the 'too complex' error