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) <https://github.com/adamchainz/flake8-comprehensions/issues/457>__.
3.10.0 (2022-05-19)
Add rule C417 which recommends rewriting use of map() with lambda to an equivalent generator expression or comprehension.
Thanks to Tushar Sadhwani in PR [#409](https://github.com/adamchainz/flake8-comprehensions/issues/409) <https://github.com/adamchainz/flake8-comprehensions/pull/409>__.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps flake8-comprehensions from 3.8.0 to 3.10.1.
Changelog
Sourced from flake8-comprehensions's changelog.
Commits
1eb8823
Version 3.10.1e655c26
Fix C402/C404 false positive for dict() with kwargs (#458)7d8f47f
Test with Python 3.11.0 (#456)26681c6
Upgrade requirements (#455)4fb5a39
[pre-commit.ci] pre-commit autoupdate (#453)778eaad
Upgrade GitHub Actions workflows to Ubuntu 22.04 (#452)baa8acd
Add 'Typing :: Typed' PyPI classifier76a79c0
[pre-commit.ci] pre-commit autoupdate (#451)763cf2a
Upgrade to Mypy 0.981eb96bb6
[pre-commit.ci] pre-commit autoupdate (#450)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)