The `shutil.rmtree(onerror=...)` kwarg got deprecated with py3.12. We still need to support older version of python all the way back to 3.6 so just ignore this pylint error for a while.
--checkpoint