Revisions of python-yapf
Ana Guerrero (anag+factory)
accepted
request 1225352
from
Dirk Mueller (dirkmueller)
(revision 17)
- update to 0.43.0: * New `DISABLE_SPLIT_LIST_WITH_COMMENT` flag. `DISABLE_SPLIT_LIST_WITH_COMMENT` is a new knob that changes the behavior of splitting a list when a comment is present inside the list. Note the behavioral change above; if you set `DISABLE_ENDING_COMMA_HEURISTIC=true` and want to keep the old behavior, you now also need to set `DISABLE_SPLIT_LIST_WITH_COMMENT=true`. * Remove dependency on importlib-metadata * Remove dependency on tomli when using >= py311 * Format '.pyi' type sub files. * Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item named argument lists by taking precedence over SPLIT_BEFORE_NAMED_ASSIGNS. * Fix SPLIT_ALL_COMMA_SEPARATED_VALUES and SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES being too agressive for lambdas and unpacking. - Add missing {Build,}Requires on tomli and importlib-metadata.
Ana Guerrero (anag+factory)
accepted
request 1156824
from
Steve Kowalik (StevenK)
(revision 16)
- Add missing {Build,}Requires on tomli and importlib-metadata.
Ana Guerrero (anag+factory)
accepted
request 1129242
from
Dirk Mueller (dirkmueller)
(revision 15)
- update to 0.40.2: * The verification module has been removed. NOTE: this changes the public APIs by removing the "verify" parameter. * Changed FORCE_MULTILINE_DICT to override SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES. * Adopt pyproject.toml (PEP 517) for build system * Do not treat variables named `match` as the match keyword. * Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists. * Fix trailing backslash-newline on Windows when using stdin.
Ana Guerrero (anag+factory)
accepted
request 1109517
from
Dirk Mueller (dirkmueller)
(revision 14)
- update to 0.40.1: * Corrected bad distribution v0.40.0 package. * Support for Python 3.11 * Add the `--print-modified` flag to print out file names of modified files when running in in-place mode. * Replace the outdated and no-longer-supported lib2to3 with a fork of blib2to3 * Support for Python versions < 3.7 are no longer supported.
Dominique Leuenberger (dimstar_suse)
accepted
request 1084863
from
Dirk Mueller (dirkmueller)
(revision 13)
- update to 0.33.0: * Add a new Python parser to generate logical lines. * Added support for `# fmt: on` and `# fmt: off` pragmas. * Moved 'pytree' parsing tools into its own subdirectory. * Add support for Python 3.10. * Format generated dicts with respect to same rules as regular dicts * Generalized the ending comma heuristic to subscripts. * Supports "pyproject.toml" by default. * Split line before all comparison operators.
Dominique Leuenberger (dimstar_suse)
accepted
request 1081719
from
Dirk Mueller (dirkmueller)
(revision 12)
Dominique Leuenberger (dimstar_suse)
accepted
request 980752
from
Matej Cepl (mcepl)
(revision 11)
- Update to 0.32.0: - Look at the 'pyproject.toml' file to see if it contains ignore file information for YAPF. - New entry point `yapf_api.FormatTree` for formatting lib2to3 concrete syntax trees. - Change tests to support "pytest". - Reformat so that "flake8" is happy. - Clean up the FormatToken interface to limit how much it relies upon the pytree node object. - Rename "unwrapped_line" module to "logical_line." - Rename "UnwrappedLine" class to "LogicalLine." - Added pyproject extra to install toml package as an optional dependency. - Enable `BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF` knob for "pep8" style, so method definitions inside a class are surrounded by a single blank line as prescribed by PEP8. - Fixed the '...' token to be spaced after a colon. - Fix update-alternatives use.
Dominique Leuenberger (dimstar_suse)
accepted
request 906775
from
Dirk Mueller (dirkmueller)
(revision 10)
- update to 0.31.0: - Add 'BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES' to support setting a custom number of blank lines between top-level imports and variable definitions. - Ignore end of line `# copybara:` directives when checking line length. - Do not scan exlcuded directories. Prior versions would scan an exluded folder then exclude its contents on a file by file basis. Preventing the folder being scanned is faster.
Dominique Leuenberger (dimstar_suse)
accepted
request 810185
from
Tomáš Chvátal (scarabeus_iv)
(revision 9)
Dominique Leuenberger (dimstar_suse)
accepted
request 770065
from
Tomáš Chvátal (scarabeus_iv)
(revision 8)
Dominique Leuenberger (dimstar_suse)
accepted
request 717549
from
Tomáš Chvátal (scarabeus_iv)
(revision 7)
- Update to 0.28.0: * Bugfix release, see CHANGELOG
Dominique Leuenberger (dimstar_suse)
accepted
request 692780
from
Tomáš Chvátal (scarabeus_iv)
(revision 6)
Dominique Leuenberger (dimstar_suse)
accepted
request 674884
from
Tomáš Chvátal (scarabeus_iv)
(revision 5)
Dominique Leuenberger (dimstar_suse)
accepted
request 644316
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
- Version update to 0.24.0: * Support for python 3.7
Dominique Leuenberger (dimstar_suse)
accepted
request 632145
from
Tomáš Chvátal (scarabeus_iv)
(revision 3)
- Version update to 0.23.0: * Many changes to behaviour based on CHANGELOG * Add various documents/license to distributed tarball
Dominique Leuenberger (dimstar_suse)
accepted
request 603215
from
Tomáš Chvátal (scarabeus_iv)
(revision 2)
- Trim description and focus on the package, not the process.
Dominique Leuenberger (dimstar_suse)
accepted
request 580907
from
Atri Bhattacharya (badshah400)
(revision 1)
New package: python-yapf [needed for guake update]
Displaying all 17 revisions