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 1 of 7

3.16.0

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

* Drop Python 3.8 support.

* Support Python 3.13.

3.15.0

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

* Add rule C420 to check for dict comprehensions with constant values, encouraging replacement with ``dict.fromkeys()``.

Thanks to Tom Kuson in `PR 553 <https://github.com/adamchainz/flake8-comprehensions/pull/553>`__.

3.14.0

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

* Drop Python 3.7 support.

3.13.0

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

* Support Python 3.12.

3.12.0

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

* Add rule C418 to check for calls passing a dict literal or dict comprehension to ``dict()``.

* Add rule C419 to check for calls passing a list comprehension to ``any()``/``all()``.

3.11.1

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

* Fix false positives in C406 “unnecessary dict literal”.

Fixes `Issue 260 <https://github.com/adamchainz/flake8-comprehensions/issues/260>`__.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.