Add a python mode settings to ignore certain errors.