Protowhat

Latest version: v2.1.3

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

Scan your dependencies

Page 3 of 5

1.8.2

- Support unicode when checking files
- Fix disabling parsing file content

1.8.0

- `Feedback` doesn't need to be subclassed in depending SCT libraries.
- `_debug` now has an `on_error` argument which can be set to `True` to show debugging info
on the next failure or before finishing.
- No NumPy dependency
- Simplified `State.report`

1.7.0

This release improves the base functionality for all depending SCT libraries.

- Add `_debug` SCT introspection function
- Add `State.parent_state` and `State.state_history` as a general state linking mechanism (using `State.creator`)
- Add `TestRunner` and `TestRunnerProxy` and make `Reporter` a `TestRunnerProxy`
- Add AST and text offset support in `Runner`
- Improve `Dispatcher`, `Feedback` and `Test` interfaces

1.6.0

This release enables protowhat to be the base for pythonwhat.

- `do_test` now runs a `Test` as in pythonwhat, instead of accepting a feedback string.
- the explicit Fail subclass should be used instead of relying on the old default implementation of `Test`
- the `report(feedback: Feedback)` method on the `State` class reintroduces a short way to gather exercise feedback,
equivalent to `do_test(Fail(Feedback(msg)))`, while also setting highlight info.
- the `legacy_signature` decorator enables to call a function using old argument names
when they are passed as keyword arguments
- AST utils to dump and load a tree structure to be used in e.g. dispatching are improved

1.5.0

- Update parsing class interface for compatibility with antlr-ast
- Support finding dynamic nodes in AST tree (instead of just custom defined nodes)
- Change `ckeck_edge` default value of `index` argument from `None` to `0`
- This is done to break less content
- Now: explicitly define the value of the `index` argument
- Later: revert default change and remove unnecessary explicit setting of the `index` argument

1.4.0

- Refactor based on refactor in `antlr-ast>=0.4.1`, `antlr-plsql>=0.7.0` and `antlr-tsql>=0.11.0`

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.