follow warnings from pylint