[checkmk-commits] refactoring to fix pylint messages