Gersemi

Latest version: v0.12.1

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

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 as `set_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 from `0.8` but below `0.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

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.