Changelog
### 3.8.0
```
------------------
* Drop Python 3.6 support.
* Remove upper bound on Flake8 version.
```
### 3.7.0
```
------------------
* Support Flake8 4.
```
### 3.6.1
```
------------------
* Fix type hint for ``tree`` argument.
Thanks to kasium for the report in `Issue 352
<https://github.com/adamchainz/flake8-comprehensions/issues/352>`__.
```
### 3.6.0
```
------------------
* Add type hints.
```
### 3.5.0
```
------------------
* Support Python 3.10.
* Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.
```
### 3.4.0
```
------------------
* Remove rules C407 (Unnecessary ``<dict/list>`` comprehension - ``<builtin>``
can take a generator) and C412 (Unnecessary ``<dict/list/set>`` comprehension
- 'in' can take a generator). Both rules recommended increasing laziness,
which is not always desirable and can lead to subtle bugs. Also, a fully
exhausted generator is slower than an equivalent comprehension, so the advice
did not always improve performance.
Thanks to David Smith, Dylan Young, and Leonidas Loucas for the report in
`Issue 247
<https://github.com/adamchainz/flake8-comprehensions/issues/247>`__.
```
### 3.3.1
```
------------------
* Drop Python 3.5 support.
* Improved installation instructions in README.
```
### 3.3.0
```
------------------
* Support Python 3.9.
* Move license from ISC to MIT License.
* Partially reverted the change to ``C408`` to make it apply again to when
``dict`` is called with keyword arguments, e.g. ``dict(a=1, b=2)`` will be
flagged to be rewritten in the literal form ``{"a": 1, "b": 2}``
```
### 3.2.3
```
------------------
* Made ``C408`` only apply when no arguments are passed to
``dict``/``list``/``tuple``.
```
Links
- PyPI: https://pypi.org/project/flake8-comprehensions
- Changelog: https://pyup.io/changelogs/flake8-comprehensions/
- Repo: https://github.com/adamchainz/flake8-comprehensions
This PR updates flake8-comprehensions from 3.2.2 to 3.8.0.
Changelog
### 3.8.0 ``` ------------------ * Drop Python 3.6 support. * Remove upper bound on Flake8 version. ``` ### 3.7.0 ``` ------------------ * Support Flake8 4. ``` ### 3.6.1 ``` ------------------ * Fix type hint for ``tree`` argument. Thanks to kasium for the report in `Issue 352 <https://github.com/adamchainz/flake8-comprehensions/issues/352>`__. ``` ### 3.6.0 ``` ------------------ * Add type hints. ``` ### 3.5.0 ``` ------------------ * Support Python 3.10. * Stop distributing tests to reduce package size. Tests are not intended to be run outside of the tox setup in the repository. Repackagers can use GitHub's tarballs per tag. ``` ### 3.4.0 ``` ------------------ * Remove rules C407 (Unnecessary ``<dict/list>`` comprehension - ``<builtin>`` can take a generator) and C412 (Unnecessary ``<dict/list/set>`` comprehension - 'in' can take a generator). Both rules recommended increasing laziness, which is not always desirable and can lead to subtle bugs. Also, a fully exhausted generator is slower than an equivalent comprehension, so the advice did not always improve performance. Thanks to David Smith, Dylan Young, and Leonidas Loucas for the report in `Issue 247 <https://github.com/adamchainz/flake8-comprehensions/issues/247>`__. ``` ### 3.3.1 ``` ------------------ * Drop Python 3.5 support. * Improved installation instructions in README. ``` ### 3.3.0 ``` ------------------ * Support Python 3.9. * Move license from ISC to MIT License. * Partially reverted the change to ``C408`` to make it apply again to when ``dict`` is called with keyword arguments, e.g. ``dict(a=1, b=2)`` will be flagged to be rewritten in the literal form ``{"a": 1, "b": 2}`` ``` ### 3.2.3 ``` ------------------ * Made ``C408`` only apply when no arguments are passed to ``dict``/``list``/``tuple``. ```Links
- PyPI: https://pypi.org/project/flake8-comprehensions - Changelog: https://pyup.io/changelogs/flake8-comprehensions/ - Repo: https://github.com/adamchainz/flake8-comprehensions