Fix linters for Python