Flake8-comprehensions

Latest version: v3.14.0

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

Scan your dependencies

Page 1 of 7

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>`__.

3.11.0

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

* Expand C416 to ``dict`` comprehensions.

Thanks to Aaron Gokaslan in `PR 490 <https://github.com/adamchainz/flake8-comprehensions/pull/490>`__.

3.10.1

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

* Fix false positive in rules C402 and C404 for ``dict()`` calls with keyword arguments.

Thanks to Anders Kaseorg for the report in `Issue 457 <https://github.com/adamchainz/flake8-comprehensions/issues/457>`__.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.