add linting for python mode