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/issues/553) <https://github.com/adamchainz/flake8-comprehensions/pull/553>__.
3.14.0 (2023-07-10)
Drop Python 3.7 support.
3.13.0 (2023-06-15)
Support Python 3.12.
3.12.0 (2023-04-13)
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 (2023-03-21)
Fix false positives in C406 “unnecessary dict literal”.
Thanks to Aaron Gokaslan in PR [#490](https://github.com/adamchainz/flake8-comprehensions/issues/490) <https://github.com/adamchainz/flake8-comprehensions/pull/490>__.
3.10.1 (2022-10-29)
Fix false positive in rules C402 and C404 for dict() calls with keyword arguments.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Updates the requirements on flake8-comprehensions to permit the latest version.
Changelog
Sourced from flake8-comprehensions's changelog.
... (truncated)
Commits
bf5861b
Version 3.16.0bd8b055
Drop Python 3.8 support (#600)cfba30c
Add automated release process (#601)e49e753
[pre-commit.ci] pre-commit autoupdate (#599)2bc3ccb
Bump astral-sh/setup-uv from 1 to 3 in the github-actions group (#598)a7842a6
Support Python 3.13 (#597)7df8477
Upgrade requirements (#596)4272785
Use uv on GitHub Actions (#595)a03d78f
Move automatic updates to monthly5ea9394
[pre-commit.ci] pre-commit autoupdate (#594)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 show