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