The bug in pylint should be fixed in pylint version 2.14.2: See https://github.com/PyCQA/pylint/issues/6689.