fix pylint C0325 superfluous-parens warnings