BSD Ports

devel/py-yapf 0.43.0p3 OpenBSD

formatter for Python code

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
3f059e808a
Categories
devel, lang/python

Description

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.

In the other systems

SystemPortVersion
OpenBSDdevel/py-yapf0.43.0p3
NetBSDdevel/py-yapf0.43.0nb1

Install

Binary package:

pkg_add py3-yapf

From the ports tree:

cd /usr/ports/devel/py-yapf && make install

Dependencies

Build dependencies 5
Run dependencies 2

Commit history 1

DateCommitCreditsLog message
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1