py3-yapf

formatter for Python code

WWW CVSWeb GITHub
  1. Package version
    py3-yapf-0.33.0
  2. Maintainer
    The OpenBSD ports mailing-list

YAPF is a formatter based off of 'clang-format'. In essence, the algorithm takes
the code and reformats it to the best formatting that conforms to the style
guide, even if the original code didn't violate the style guide. If the whole
codebase of a project is simply piped through YAPF whenever modifications are
made, the style remains consistent throughout the project and there's no point
arguing about style in every code review.

  • python3

  • lang/python/3.10
  • devel/py-build,python3
  • devel/py-installer,python3
  • devel/py-setuptools,python3
  • devel/py-wheel,python3

  • STEM->=2.0.1:textproc/py-tomli,python3
  • lang/python/3.10