yapf3

Python code formatter for different styles (Python 3)

Install

All systems
curl cmd.cat/yapf3.sh
Debian Debian
apt-get install yapf3
Ubuntu
apt-get install yapf3
image/svg+xml Kali Linux
apt-get install yapf3
Windows (WSL2)
sudo apt-get update sudo apt-get install yapf3
Raspbian
apt-get install yapf3

yapf3

Python code formatter for different styles (Python 3)

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 3. This package provides the command-line interface for Python 3.