Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates yapf from 0.28.0 to 0.29.0.

Changelog

0.29.0

Added
- Add the `--quiet` flag to suppress output. The return code is 1 if there are
changes, similarly to the `--diff` flag.
- Add the `indent_closing_brackets` option. This is the same as the
`dedent_closing_brackets` option except the brackets are indented the same
as the previous line.
Changed
- Collect a parameter list into a single object. This allows us to track how a
parameter list is formatted, keeping state along the way. This helps when
supporting Python 3 type annotations.
- Catch and report `UnicodeDecodeError` exceptions.
- Improved description of .yapfignore syntax.
Fixed
- Format subscript lists so that splits are essentially free after a comma.
- Don't add a space between a string and its subscript.
- Extend discovery of '.style.yapf' & 'setup.cfg' files to search the root
directory as well.
- Make sure we have parameters before we start calculating penalties for
splitting them.
- Indicate if a class/function is nested to ensure blank lines when needed.
- Fix extra indentation in async-for else statement.
- A parameter list with no elements shouldn't count as exceeding the column
limit.
- When splitting all comma separated values, don't treat the ending bracket as
special.
- The "no blank lines between nested classes or functions" knob should only
apply to the first nested class or function, not all of them.
Links

@codecov
Copy link

codecov bot commented Nov 29, 2019

Codecov Report

Merging #1114 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1114   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          13      13           
  Lines         620     620           
  Branches       13      13           
======================================
  Hits          620     620
Impacted Files Coverage Δ
tests/conftest.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 276b9cc...e040710. Read the comment docs.

@adamtheturtle adamtheturtle merged commit 19ed928 into master Nov 29, 2019
@adamtheturtle adamtheturtle deleted the pyup-update-yapf-0.28.0-to-0.29.0 branch November 29, 2019 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants