yapf

(β˜… 13,978)

A formatter for Python files

  • .coveragerc
  • .editorconfig
  • .flake8
  • .gitattributes
  • .gitignore
  • .isort.cfg
  • .pre-commit-config.yaml
  • .pre-commit-hooks.yaml
  • .python-version
  • .style.yapf
  • .vimrc
  • AUTHORS
  • CHANGELOG.md
  • CONTRIBUTING.md
  • CONTRIBUTORS
  • EDITOR SUPPORT.md
  • HACKING.md
  • LICENSE
  • MANIFEST.in
  • pylintrc
  • pyproject.toml
  • README.md
  • tox.ini

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/google/yapf

Downloads the entire project code from GitHub to your computer.

cd yapf

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
$ pip install yapf

Installs the Python libraries listed in requirements.txt (or similar).

$ pip install git+https://github.com/google/yapf.git

Installs the Python libraries listed in requirements.txt (or similar).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation