Fix pylint false positive