-
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.
parse functions, canonical spelling, sort files, hashrulers
* Implement canonical command case * Canonicalize capitalization of keys in cmdspec * Add README documentation regarding fences and enable/disable * Statement parsers are now generic functions. Old standard parser remains for most statements, but some statements now have custom parsers. * Implement deeper parse logic for ``install()`` and ``file()`` commands, improving the formatting of these statements. * Implement input/output encoding configuration parameters * Implement hashruler markup logic and preserve hashrulers if markup is disable or if configured to do so. * Separate cmake-annotate frontend * Provider a ``Loader=`` to yaml ``load()`` * Fix python3 lint * Fix bad lexing of make-style variables * Fix multiple hash chars ``lstrip()ed`` from comments * Closes `#62`_: Possible improvement on formatting "file" * Closes `#75`_: configurable positioning of flags * Closes `#87`_: Hash-rulers are stripped when markup disabled * Closes `#91`_: Add missing keyword arguments to project command * Closes `#95`_: added argument --encoding to allow for non-utf8 * Closes `#98`_: Fix kwargs/flag index for non-lowercase functions * Closes `#100`_: Extra linebreak inserted when '$(' encountered * Closes `#101`_: Provide a Loader to yaml.load * Closes `#102`_: fences does not work as expected .. _#62: https://github.com/cheshirekow/cmake_format/issues/62 .. _#75: https://github.com/cheshirekow/cmake_format/issues/75 .. _#87: https://github.com/cheshirekow/cmake_format/issues/87 .. _#91: #91 .. _#95: #95 .. _#98: #98 .. _#100: https://github.com/cheshirekow/cmake_format/issues/100 .. _#101: #101 .. _#102: https://github.com/cheshirekow/cmake_format/issues/102
- Loading branch information
1 parent
f8a301f
commit 0a8a97c
Showing
51 changed files
with
5,257 additions
and
1,105 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
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 |
---|---|---|
|
@@ -56,4 +56,3 @@ if(NOT IS_TRAVIS_CI) | |
endif() | ||
|
||
add_subdirectory(doc) | ||
add_subdirectory(test) |
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.4.5' | ||
VERSION = '0.5.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.