Gersemi

Latest version: v0.17.0

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

Scan your dependencies

Page 1 of 8

0.17.0

Added
- Add `disable_formatting`. (35)
- `--config` can be used to provide explicit path to configuration file. (35)
- Add `--print-config` to print outcome configuration in one of three variants: minimal, verbose, default. (35)
- Warn about options not supported through configuration file.

Changed
- Configuration has been split into two kinds: outcome and control. Outcome configuration can be changed through either configuration file or command line arguments whereas control configuration be changed only through command line.
- Search strategy for `.gersemirc` file has been changed so that the file closest to given source file is picked instead of using `.gersemirc` that it the most commont among files passed to gersemi.
- `--default-config` is removed because its functionality is subsumed by `--print-config default`.
- `cache`, `color`, `quiet` and `workers` can be changed only through command line.

Fixed
- custom command definitions nested inside other definitions are picked as well (39)
- colors stripping when output is redirected (40)

0.16.2

Fixed
- support missing keywords in `file(MAKE_DIRECTORY)` (38)
- support missing keywords in `try_compile`
- add support for experimental `install(PACKAGE_INFO)`

0.16.1

Added
- support for new keywords in native commands available in CMake 3.31

Fixed
- incorrect keywords in `bison_target` and `flex_target` (37)

0.16.0

Changed
- removed dependency to `dataclasses` package (36)
- supported Python versions changed from `>= 3.6` to `>= 3.8`
- number of workers can now be specified with either integer or "max", default value will now be "max" instead of numerical value of max on given machine

0.15.1

Fixed
- when source or definition path doesn't exist `gersemi` will fail early

0.15.0

Added
- cache can be disabled through `--no-cache`/`cache: false`, cache is still enabled by default
- warnings about unknown commands can be suppressed through `--no-warn-about-unknown-commands`/`warn_about_unknown_commands: false`, warnings are enabled by default

Fixed
- only those files that were checked or formatted without warning will be cached

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.