Type-config

Latest version: v1.3.0

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

Scan your dependencies

Page 1 of 2

1.3.0

Changed
- Now `create_config` can take an extra argument, which changes the default value of the options, when writing the config file. This allows you to have a json file to "fill" the configuration when testing things (and have a valid configuration).

1.2.0

Changed
- Now `parse_config` doesn't validate the configuration while parsing. This makes the function do only one thing (better for debugging) and allows for easier testing and merging.

1.1.1

Fixed
- Updated GitHub links in the pyproject.toml file.

1.1.0

Added
- Added `get_options` as a getter to allow users to access the list of options of a TypeConfig object.
- Added `get_types` as a getter to allow users to access the list of types of a TypeConfig object.

1.0.5

Fixed
- Moved the type hints parameter from the methods to the class initialisation and changed the healing method's name from `heal_file` to `heal_config`.

1.0.4

Fixed
- Fixed a bug in `validate_config`, which would re-assign the options' value to the whole config (if the value was True, the config would now be "True" instead of {option: True}).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.