Erratum

Latest version: v0.1.1

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

Scan your dependencies

0.1.1

-----------------

- **NEW:** Error definitions can also be used as a context manager, useful
for when you only want the Error to catch exceptions in a particular block
of code rather than an entire function. e.g.

.. code-block:: python

with SqrtError():
math.sqrt(-1)

0.1.0

-----------------

- **CHANGED:** Cleaner syntax for annotating functions with errors you now
simply use the class name e.g.

.. code-block:: python

SqrtError
def mysqrt(x):
...

- **FIXED:** Text in the output of the erratum.document command now has the
proper indentation

0.0.1

-----------------

Initial release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.