resolving pylint numtypes