Pylint issues should be a reason to make code better, not worse. I'd argue that this is worse than it was. Can you add a pylint disable comment to fix the Pylint warning?