Releases: BlankSpruce/gersemi
Releases · BlankSpruce/gersemi
0.6.1
Fixed
- on Python 3.6 sqlite related TypeError isn't raised anymore
0.6.0
Added
- information about formatted files is cached so that subsequent runs can avoid processing already formatted files
- support for commands introduced between 3.16 and 3.19 releases of CMake
Changed
- minor change to how OUTPUT argument in file(GENERATE) is formatted
0.5.0
Added
- minor performance improvements
- support for Python 3.6
Changed
- files are taken as input only once even if provided multiple times
- files are no longer overwritten if reformatting wouldn't lead to change of content
- removed dependency to
packaging
0.4.0
Added
- some performance improvements
- relaxed dependency to lark so that 0.9 can be used as well
- loading configuration from
.gersemirc
but command line arguments still take precedence - colorized diffs with
--color
Fixed
- comments no longer interfere in splitting arguments by keywords which led to undesired formatting (#1)
0.3.1
Fixed
- line comments in unknown custom commands are preserved in their original form
- fail-safe for AST mismatch (between before and after reformatting) now properly reports file where the problem occured
0.3.0
Added
- utilize multiple cores if avaiable through
multiprocessing
module - use
--quiet
to suppress non-error message on stderr - support for commands from
cmake-modules
section of CMake documentation - support formatting of custom commands without keyworded arguments
- custom command definitions can be marked now with
# gersemi: ignore
to suppress generating specialized formatter for these commands
Changed
- commands with
PROPERTIES
keyword such asset_directory_properties
now are formatted in uniform way as other commands with keyworded arguments
Fixed
- idempotence of preserving formatting of unknown custom commands
0.2.2
Fixed
- fixed condition syntax formatting edge-case with opening parenthesis indentation
0.2.1
Fixed
- Missing value for one value keyword no longer leads to stopping formatting of remaining files in the batch
0.2.0
Added
- custom commands formatting when definitions of these commands are provided with
--definitions
- preserving CRLF style of newlines if formatted file used that style
--version
- performance improvements
Fixed
- bracket argument / bracket comment parsing bugfixes
- removed strict dependency to lark
0.8.0
, now anything from0.8
but below0.9
should work
0.1.2
Changed
- formatting of COMMAND keyworded arguments look better when wrapped to line (or multiple lines) instead of listing each constituent of command in separate line