Update pylint version to support python 3.12 (#5338)
Jira: https://issues.redhat.com/browse/RHEL-44599
Fix pylint complaints and make the code complaint with python 3.12.
Jira: https://issues.redhat.com/browse/RHEL-44599
Fix pylint complaints and make the code complaint with python 3.12.