fix(deps): update dependency yapf to ^0.40.0 #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.27.0
->^0.40.0
Release Notes
google/yapf (yapf)
v0.40.2
Compare Source
Changes
by removing the "verify" parameter.
Fixed
match
as the match keyword.v0.40.1
Compare Source
Fixed
v0.40.0
Compare Source
Added
--print-modified
flag to print out file names of modified files whenrunning in in-place mode.
Changes
Black's version of lib2to3.
Removed
v0.33.0
Compare Source
Added
# fmt: on
and# fmt: off
pragmas.Changes
Fixed
v0.32.0
Compare Source
Added
for YAPF.
yapf_api.FormatTree
for formatting lib2to3 concretesyntax trees.
Changes
pytree node object.
Fixed
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF
knob for "pep8" style, somethod definitions inside a class are surrounded by a single blank line as
prescribed by PEP8.
v0.31.0
Compare Source
Added
a custom number of blank lines between top-level imports and variable
definitions.
# copybara:
directives when checking line length.YAPF.
Changed
folder then exclude its contents on a file by file basis. Preventing the
folder being scanned is faster.
Fixed
v0.30.0
Compare Source
Added
SPACES_AROUND_LIST_DELIMITERS
,SPACES_AROUND_DICT_DELIMITERS
,and
SPACES_AROUND_TUPLE_DELIMITERS
to add spaces after the opening-and before the closing-delimiters for lists, dicts, and tuples.
FORCE_MULTILINE_DICT
knob to ensure dictionaries always split,even when shorter than the max line length.
SPACE_INSIDE_BRACKETS
to add spaces inside brackets, braces, andparentheses.
SPACES_AROUND_SUBSCRIPT_COLON
to add spaces around the subscript /slice operator.
Changed
CONTINUATION_ALIGN_STYLE
withFIXED
orVALIGN-RIGHT
now works withspace indentation.
Fixed
SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES
is set. The knob is meant forvalues, not comments, which may be associated with the current line.
properly indented so that it doesn't collide with the lines afterwards.
v0.29.1
Compare Source
v0.29.0
Compare Source
Added
--quiet
flag to suppress output. The return code is 1 if there arechanges, similarly to the
--diff
flag.indent_closing_brackets
option. This is the same as thededent_closing_brackets
option except the brackets are indented the sameas the previous line.
Changed
parameter list is formatted, keeping state along the way. This helps when
supporting Python 3 type annotations.
UnicodeDecodeError
exceptions.Fixed
directory as well.
splitting them.
limit.
special.
apply to the first nested class or function, not all of them.
v0.28.0
Compare Source
Added
SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES
is a variation onSPLIT_ALL_COMMA_SEPARATED_VALUES
in which, if a subexpression with a commafits in its starting line, then the subexpression is not split (thus avoiding
unnecessary splits).
Changed
INDENT_DICTIONARY_VALUE
for Google style.JOIN_MULTIPLE_LINES = False
for Google style.Fixed
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=False
wasn't honored because thenumber of newlines was erroneously calculated beforehand.
'lambda' keyword. This prevents them from being properly formatted when they're
arguments to functions.
Otherwise we could mess up formatting for containers which have them
interspersed with code.
which may not exist.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.