-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Significant refactor of the formatting logic.
* Move ``format_tests`` into ``command_tests.misc_tests`` * Prototype sidecar tests for easier readability/maintainability * ArgGroupNodes gain representation in the layout tree * Get rid of ``WrapAlgo`` * Eliminate vertical/nest as separate decisions. Nesting is just the wrap decision for StatementNode and KwargNode wheras vertical is the wrap decision for PargGroupnode and ArgGroupNode. * Replace ``algorithm_order`` with ``_layout_passes`` * Get rid of ``default_accept_layout`` and move logic into a member function * Move configuration and ``node_path`` into new ``StackContext`` * Stricter valid-child-set for most layout nodes
- Loading branch information
1 parent
7abe24f
commit 2a4d453
Showing
48 changed files
with
4,043 additions
and
3,821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
""" | ||
from __future__ import unicode_literals | ||
|
||
VERSION = '0.5.5' | ||
VERSION = '0.6.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.