Above the def put this

    # pylint: disable=R0913

lint complains about "too many args" (it doesn't like more than 10)