Icontract

Latest version: v2.7.1

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

Scan your dependencies

Page 6 of 11

2.0.4

=====
* Added contract location to the message of the violation error

2.0.3

=====
* Fixed representation of numpy conditions
* Updated pylint to 2.3.1

2.0.2

=====
* Specified ``require`` and ``ensure`` to use generics in order to fix typing erasure of the decorated functions

2.0.1

=====
* Fixed forgotten renamings in the Readme left from icontract 1.x

2.0.0

=====
* Removed ``repr_args`` argument to contracts since it is superseded by more versatile ``error`` argument
* Renamed contracts to follow naming used in other languages and libraries (``require``, ``ensure`` and ``invariant``)
* Improved error messages on missing arguments in the call

1.7.2

=====
* Demarcated decorator and lambda inspection in ``_represent`` submodule

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.