Approvaltests

Latest version: v14.2.0

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

Scan your dependencies

Page 1 of 18

14.2.0

- add `py.typed` to appease mypy ( 184 resolves 179 )
- fix typo in `use_utc_timezone`

14.1.0

Added verify_argument_parser for python arg_parse configuration.

Example:
python
verify_argument_parser(parser)


Produces

txt
usage: my_program.py [-h] [--optional_argument OPTIONAL_ARGUMENT] 1st_argument long_argument

My Description

positional arguments:
1st_argument 1st argument help text


<optional header>:
-h, --help show this help message and exit
--optional_argument OPTIONAL_ARGUMENT
An Optional Argument help text

14.0.0

also moved to prevent a pycharm bug where top level names collide

13.0.0

To fix an odd bug in PyCharm with top-level pytest folders over-write defaults.

12.2.1

fixes 164

12.2.0

Will produce the following doc_string approval:
python
"""
42
***** DELETE ME TO APPROVE *****
vvvvv PREVIOUS RESULT vvvvv
41
"""

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.