Yapf Installation On A Debian, Ubuntu, Arch And Raspbian

Yapf Installation On A Debian, Ubuntu, Arch And Raspbian

yapf

Python code formatter for different styles (Python 2)

Install yapf

  • Debian apt-get install yapf Click to copy
  • Ubuntu apt-get install yapf Click to copy
  • Arch Linux pacman -S yapf Click to copy
  • Raspbian apt-get install yapf Click to copy

yapf

Python code formatter for different styles (Python 2)

Yapf is a tool that reformats code to the best formatting that conforms to the style guide. It is not only concerned with lint errors, but also with the styilistic appearance of Python code. The idea is also similar to the 'gofmt' tool for the Go programming language. This package installs the tool for Python 2.

Installation of latest yapf command is available for Debian, Ubuntu, Arch and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.