Fix python lint errors