Package python3-module-yapf: Information

  • Default inline alert: Version in the repository: 0.40.2-alt1

Source package: python3-module-yapf
Version: 0.33.0-alt1
Latest version according to Repology
Build time:  May 18, 2023, 05:37 PM in the task #319498
Report package bug
License: Apache-2.0
Summary: A formatter for Python files
Description: 
Most of the current formatters for Python --- e.g., autopep8, and
pep8ify --- are made to remove lint errors from code. This has some
obvious limitations. For instance, code that conforms to the PEP 8
guidelines may not be reformatted. But it doesn't mean that the code
looks good.

YAPF takes a different approach. It's based off of 'clang-format',
developed by Daniel Jasper. 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. The
idea is also similar to the 'gofmt' tool for the Go programming
language: end all holy wars about formatting - 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.

The ultimate goal is that the code YAPF produces is as good as the code
that a programmer would write if they were following the style guide. It
takes away some of the drudgery of maintaining your code.

List of rpms provided by this srpm:
python3-module-yapf (noarch)
vim-plugin-yapf (noarch)

Maintainer: Stanislav Levin

List of contributors:
Stanislav Levin
Anton Zhukharev

ACL:
Anton Zhukharev
@everybody

    1. python3-module-pyproject-installer >= 0.4.0
    2. python3-module-pytest
    3. python3-module-setuptools
    4. python3-module-tomli
    5. python3-module-wheel
    6. rpm-build-pyproject
    7. rpm-build-vim

Last changed


May 17, 2023 Stanislav Levin 0.33.0-alt1
- 0.32.0 -> 0.33.0.
Oct. 2, 2022 Anton Zhukharev 0.32.0-alt1
- initial build for Sisyphus