Flake8-assertive

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 2

2.1.0

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

* Suggest using an explicit `msg` keyword argument with ``assertTrue()`` and
``assertFalse()`` to avoid accidental two-argument misuse. This is controlled
by a new error code: ``A504``

2.0.0

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

* Drop support for Python 2.7 and 3.6, and add 3.10.
* Drop support for flake8 2.x versions.

1.3.0

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

* Drop Python version 3.5 support and add version 3.9.

1.2.1

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

* Support keyword arguments in assert method calls.

1.2.0

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

* Suggest the preferred names for deprecated methods, such as
``assertEqual()`` instead of ``assertEquals()``.

1.1.0

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

* Suggest ``assertAlmostEqual(a, b, x)`` for ``round()`` expressions like in
``assertEqual(a, round(b, x))`` and ``assertAlmostEqual(a, round(b, x))``
(and similar for ``assertNotEqual()`` and ``assertNotAlmostEqual()``.
* Recognize ``assertAmostEquals()`` and ``assertNotAlmostEquals()`` as aliases
for ``assertAlmostEqual()`` and ``assertNotAlmostEqual()``.
* Drop Python 3.4 as a supported version since it has been officially retired.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.