Flake8-comprehensions

Latest version: v3.16.0

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

Scan your dependencies

Page 4 of 7

3.2.3

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

* Made ``C408`` only apply when no arguments are passed to
``dict``/``list``/``tuple``.

3.2.2

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

* Remove check for dict comprehensions in rule C407 as it would also change the
results for certain builtins such as ``sum()``.

3.2.1

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

* Remove check for set comprehensions in rule C407 as it would change the
results for certain builtins such as ``sum()``.

3.2.0

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

* Add ``filter`` and ``map`` to rule C407.
* Check for dict and set comprehensions in rules C407 and C412.

3.1.4

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

* Remove the tuple/unpacking check from C416 to prevent false positives where
the type of the iterable is changed from some iterable to a tuple.

3.1.3

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

* Ensure the fix for false positives in ``C416`` rule for asynchronous
comprehensions runs on Python 3.6 too.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.