Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rule for dict comprehensions with constant values #553

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

tjkuson
Copy link
Contributor

@tjkuson tjkuson commented Jan 22, 2024

Adds C420 that checks for dictionary comprehensions that use constant values.

Changed the fixture for test_C418_pass as it was failing (dict({x: 1 for x in range(1)}, a=1) triggers the new rule).

Closes #552.

@adamchainz adamchainz force-pushed the dict-comp-const-values branch from 9bc2add to 7646ab9 Compare June 29, 2024 22:22
@adamchainz adamchainz changed the title Add rule to check for dict comprehensions with constant values Add rule for dict comprehensions with constant values Jun 29, 2024
@adamchainz adamchainz enabled auto-merge (squash) June 29, 2024 22:23
@adamchainz adamchainz merged commit 1ae816f into adamchainz:main Jun 29, 2024
6 checks passed
@adamchainz
Copy link
Owner

Thank you!

@tjkuson tjkuson deleted the dict-comp-const-values branch June 29, 2024 22:46
tugrulates pushed a commit to tugrulates/notes that referenced this pull request Jul 1, 2024
Bumps the dependencies group with 2 updates:
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
and [mypy](https://github.com/python/mypy).

Updates `flake8-comprehensions` from 3.14.0 to 3.15.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b348af1c22e8ef34e2fd9b501918b4f45002db20"><code>b348af1</code></a>
Version 3.15.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/1ae816f430a668ee527d1fd240640cff291b84cb"><code>1ae816f</code></a>
Add rule for dict comprehensions with constant values (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/553">#553</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/226a7e0e58b231d8ae47080a4459172b9a29b708"><code>226a7e0</code></a>
Improve MyPy configuration</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a562c757802890635d0723dfc312be496f2c978b"><code>a562c75</code></a>
Tidy pyproject.toml readme and license fields</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e609dea5202dd0663a996c11883da7723f69e9c8"><code>e609dea</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/579">#579</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/9506eef08eca053bbca03fd8d2eef54b6caff5ec"><code>9506eef</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/578">#578</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/353b7b5f4571ac620fd2db62680cffccc219a2d9"><code>353b7b5</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/577">#577</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/419907c69778ad9e3c5fedb1a3e6700a9584a680"><code>419907c</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/576">#576</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/75cf66dc88b690941fac2c1a4e5255d1343a2c87"><code>75cf66d</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/575">#575</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b0dd1652ec50fb9e2b50b69aece0f85fd547894a"><code>b0dd165</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/574">#574</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/3.14.0...3.15.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `mypy` from 1.10.0 to 1.10.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's
changelog</a>.</em></p>
<blockquote>
<h4>Mypy 1.10.1</h4>
<ul>
<li>Fix error reporting on cached run after uninstallation of third
party library (Shantanu, PR <a
href="https://github.com/python/mypy/pull/17420">17420</a>)</li>
</ul>
<h4>Acknowledgements</h4>
<p>Thanks to all mypy contributors who contributed to this release:</p>
<ul>
<li>Alex Waygood</li>
<li>Ali Hamdan</li>
<li>Edward Paget</li>
<li>Evgeniy Slobodkin</li>
<li>Hashem</li>
<li>hesam</li>
<li>Hugo van Kemenade</li>
<li>Ihor</li>
<li>James Braza</li>
<li>Jelle Zijlstra</li>
<li>jhance</li>
<li>Jukka Lehtosalo</li>
<li>Loïc Simon</li>
<li>Marc Mueller</li>
<li>Matthieu Devlin</li>
<li>Michael R. Crusoe</li>
<li>Nikita Sobolev</li>
<li>Oskari Lehto</li>
<li>Riccardo Di Maio</li>
<li>Richard Si</li>
<li>roberfi</li>
<li>Roman Solomatin</li>
<li>Sam Xifaras</li>
<li>Shantanu</li>
<li>Spencer Brown</li>
<li>Srinivas Lade</li>
<li>Tamir Duberstein</li>
<li>youkaichao</li>
</ul>
<p>I’d also like to thank my employer, Dropbox, for supporting mypy
development.</p>
<h2>Mypy 1.9</h2>
<p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a
href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type
checker for Python. This release includes new features, performance
improvements and bug fixes. You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<p>You can read the full documentation for this release on <a
href="http://mypy.readthedocs.io">Read the Docs</a>.</p>
<h4>Breaking Changes</h4>
<p>Because the version of typeshed we use in mypy 1.9 doesn't support
3.7, neither does mypy 1.9. (Jared Hance, PR <a
href="https://github.com/python/mypy/pull/16883">16883</a>)</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/c28b5257b528f65a028e7d0dbecbcd81c7997356"><code>c28b525</code></a>
[1.10 backport] Fix error reporting on cached run after uninstallation
of thi...</li>
<li>See full diff in <a
href="https://github.com/python/mypy/compare/v1.10.0...v1.10.1">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to openvinotoolkit/openvino that referenced this pull request Jul 1, 2024
… /src/bindings/python (#25300)

Updates the requirements on
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
<h2>3.14.0 (2023-07-10)</h2>
<ul>
<li>Drop Python 3.7 support.</li>
</ul>
<h2>3.13.0 (2023-06-15)</h2>
<ul>
<li>Support Python 3.12.</li>
</ul>
<h2>3.12.0 (2023-04-13)</h2>
<ul>
<li>
<p>Add rule C418 to check for calls passing a dict literal or dict
comprehension to <code>dict()</code>.</p>
</li>
<li>
<p>Add rule C419 to check for calls passing a list comprehension to
<code>any()</code>/<code>all()</code>.</p>
</li>
</ul>
<h2>3.11.1 (2023-03-21)</h2>
<ul>
<li>
<p>Fix false positives in C406 “unnecessary dict literal”.</p>
<p>Fixes <code>Issue
[#260](adamchainz/flake8-comprehensions#260)
&lt;https://github.com/adamchainz/flake8-comprehensions/issues/260&gt;</code>__.</p>
</li>
</ul>
<h2>3.11.0 (2023-03-18)</h2>
<ul>
<li>
<p>Expand C416 to <code>dict</code> comprehensions.</p>
<p>Thanks to Aaron Gokaslan in <code>PR
[#490](adamchainz/flake8-comprehensions#490)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/490&gt;</code>__.</p>
</li>
</ul>
<h2>3.10.1 (2022-10-29)</h2>
<ul>
<li>
<p>Fix false positive in rules C402 and C404 for <code>dict()</code>
calls with keyword arguments.</p>
<p>Thanks to Anders Kaseorg for the report in <code>Issue
[#457](adamchainz/flake8-comprehensions#457)
&lt;https://github.com/adamchainz/flake8-comprehensions/issues/457&gt;</code>__.</p>
</li>
</ul>
<h2>3.10.0 (2022-05-19)</h2>
<ul>
<li>Add rule C417 which recommends rewriting use of <code>map()</code>
with <code>lambda</code> to an equivalent generator expression or
comprehension.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b348af1c22e8ef34e2fd9b501918b4f45002db20"><code>b348af1</code></a>
Version 3.15.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/1ae816f430a668ee527d1fd240640cff291b84cb"><code>1ae816f</code></a>
Add rule for dict comprehensions with constant values (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/553">#553</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/226a7e0e58b231d8ae47080a4459172b9a29b708"><code>226a7e0</code></a>
Improve MyPy configuration</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a562c757802890635d0723dfc312be496f2c978b"><code>a562c75</code></a>
Tidy pyproject.toml readme and license fields</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e609dea5202dd0663a996c11883da7723f69e9c8"><code>e609dea</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/579">#579</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/9506eef08eca053bbca03fd8d2eef54b6caff5ec"><code>9506eef</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/578">#578</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/353b7b5f4571ac620fd2db62680cffccc219a2d9"><code>353b7b5</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/577">#577</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/419907c69778ad9e3c5fedb1a3e6700a9584a680"><code>419907c</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/576">#576</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/75cf66dc88b690941fac2c1a4e5255d1343a2c87"><code>75cf66d</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/575">#575</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b0dd1652ec50fb9e2b50b69aece0f85fd547894a"><code>b0dd165</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/574">#574</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/1.0.0...3.15.0">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tugrulates pushed a commit to tugrulates/contacts that referenced this pull request Jul 2, 2024
Bumps the dependencies group with 3 updates:
[phonenumberslite](https://github.com/daviddrysdale/python-phonenumbers),
[pydantic](https://github.com/pydantic/pydantic) and
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions).

Updates `phonenumberslite` from 8.13.39 to 8.13.40
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/7f60158f325ed2ee14212b71ef7e7dc2ce5f01bb"><code>7f60158</code></a>
Prep for 8.13.40 release</li>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/76e63cd7c9da9f2030ec7ed987c3e692fd045c99"><code>76e63cd</code></a>
Generated files for metadata</li>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/98befc863081fcff8176d7ff68dd587e56a01108"><code>98befc8</code></a>
Merge metadata changes from upstream 8.13.40</li>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/5f28d7f3ec34361ea046200489499ae59a3c8f6f"><code>5f28d7f</code></a>
Merge code changes from upstream 8.13.40</li>
<li>See full diff in <a
href="https://github.com/daviddrysdale/python-phonenumbers/compare/v8.13.39...v8.13.40">compare
view</a></li>
</ul>
</details>
<br />

Updates `pydantic` from 2.7.4 to 2.8.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/releases">pydantic's
releases</a>.</em></p>
<blockquote>
<h2>v2.8.0 (2024-07-01)</h2>
<p>The code released in <code>v2.8.0</code> is functionally identical to
that of <code>v2.8.0b1</code>.</p>
<p>Check out our <a
href="https://pydantic.dev/articles/pydantic-v2-8-release">blog post</a>
to learn more about the release highlights!</p>
<h2>What's Changed</h2>
<h3>Packaging</h3>
<ul>
<li>Update citation version automatically with new releases by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9673">#9673</a></li>
<li>Bump pyright to <code>v1.1.367</code> and add type checking tests
for pipeline API by <a
href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9674">#9674</a></li>
<li>Update <code>pydantic.v1</code> stub to <code>v1.10.17</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9707">#9707</a></li>
<li>General package updates to prep for <code>v2.8.0b1</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9741">#9741</a></li>
<li>Bump <code>pydantic-core</code> to <code>v2.20.0</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9745">#9745</a></li>
<li>Add support for Python 3.13 by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9743">#9743</a></li>
<li>Update <code>pdm</code> version used for <code>pdm.lock</code> to
<code>v2.16.1</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9761">#9761</a></li>
<li>Update to <code>ruff</code> <code>v0.4.8</code> by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9585">#9585</a></li>
</ul>
<h3>New Features</h3>
<ul>
<li>Experimental: support <code>defer_build</code> for
<code>TypeAdapter</code> by <a
href="https://github.com/MarkusSintonen"><code>@​MarkusSintonen</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/8939">#8939</a></li>
<li>Implement <code>deprecated</code> field in json schema by <a
href="https://github.com/NeevCohen"><code>@​NeevCohen</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9298">#9298</a></li>
<li>Experimental: Add pipeline API by <a
href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9459">#9459</a></li>
<li>Add support for programmatic title generation by <a
href="https://github.com/NeevCohen"><code>@​NeevCohen</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9183">#9183</a></li>
<li>Implement <code>fail_fast</code> feature by <a
href="https://github.com/uriyyo"><code>@​uriyyo</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9708">#9708</a></li>
<li>Add <code>ser_json_inf_nan='strings'</code> mode to produce valid
JSON by <a
href="https://github.com/josh-newman"><code>@​josh-newman</code></a> in
<a
href="https://github.com/pydantic/pydantic-core/pull/1307">pydantic/pydantic-core#1307</a></li>
</ul>
<h3>Changes</h3>
<ul>
<li>Add warning when &quot;alias&quot; is set in ignored
<code>Annotated</code> field by <a
href="https://github.com/nix010"><code>@​nix010</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9170">#9170</a></li>
<li>Support serialization of some serializable defaults in JSON schema
by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9624">#9624</a></li>
<li>Relax type specification for <code>__validators__</code> values in
<code>create_model</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9697">#9697</a></li>
<li><strong>Breaking Change:</strong> Improve <code>smart</code> union
matching logic by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic-core/pull/1322">pydantic/pydantic-core#1322</a>
You can read more about our <code>smart</code> union matching logic <a
href="https://docs.pydantic.dev/dev/concepts/unions/#smart-mode">here</a>.
In some cases, if the old behavior
is desired, you can switch to <code>left-to-right</code> mode and change
the order of your <code>Union</code> members.</li>
</ul>
<h3>Performance</h3>
<h4>Internal Improvements</h4>
<ul>
<li>⚡️ Speed up <code>_display_error_loc()</code> by 25% in
<code>pydantic/v1/error_wrappers.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9653">#9653</a></li>
<li>⚡️ Speed up <code>_get_all_json_refs()</code> by 34% in
<code>pydantic/json_schema.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9650">#9650</a></li>
<li>⚡️ Speed up <code>is_pydantic_dataclass()</code> by 41% in
<code>pydantic/dataclasses.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9652">#9652</a></li>
<li>⚡️ Speed up <code>to_snake()</code> by 27% in
<code>pydantic/alias_generators.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9747">#9747</a></li>
<li>⚡️ Speed up <code>unwrap_wrapped_function()</code> by 93% in
<code>pydantic/_internal/_decorators.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9727">#9727</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Replace <code>__spec__.parent</code> with <code>__package__</code>
by <a href="https://github.com/hramezani"><code>@​hramezani</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9331">#9331</a></li>
<li>Fix Outputted Model JSON Schema for <code>Sequence</code> type by <a
href="https://github.com/anesmemisevic"><code>@​anesmemisevic</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9303">#9303</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's
changelog</a>.</em></p>
<blockquote>
<h2>v2.8.0 (2024-07-01)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.8.0">GitHub
release</a></p>
<p>The code released in v2.8.0 is functionally identical to that of
v2.8.0b1.</p>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Update citation version automatically with new releases by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9673">#9673</a></li>
<li>Bump pyright to <code>v1.1.367</code> and add type checking tests
for pipeline API by <a
href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9674">#9674</a></li>
<li>Update <code>pydantic.v1</code> stub to <code>v1.10.17</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9707">#9707</a></li>
<li>General package updates to prep for <code>v2.8.0b1</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9741">#9741</a></li>
<li>Bump <code>pydantic-core</code> to <code>v2.20.0</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9745">#9745</a></li>
<li>Add support for Python 3.13 by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9743">#9743</a></li>
<li>Update <code>pdm</code> version used for <code>pdm.lock</code> to
v2.16.1 by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9761">#9761</a></li>
<li>Update to <code>ruff</code> <code>v0.4.8</code> by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9585">#9585</a></li>
</ul>
<h4>New Features</h4>
<ul>
<li>Experimental: support <code>defer_build</code> for
<code>TypeAdapter</code> by <a
href="https://github.com/MarkusSintonen"><code>@​MarkusSintonen</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/8939">#8939</a></li>
<li>Implement <code>deprecated</code> field in json schema by <a
href="https://github.com/NeevCohen"><code>@​NeevCohen</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9298">#9298</a></li>
<li>Experimental: Add pipeline API by <a
href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9459">#9459</a></li>
<li>Add support for programmatic title generation by <a
href="https://github.com/NeevCohen"><code>@​NeevCohen</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9183">#9183</a></li>
<li>Implement <code>fail_fast</code> feature by <a
href="https://github.com/uriyyo"><code>@​uriyyo</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9708">#9708</a></li>
<li>Add <code>ser_json_inf_nan='strings'</code> mode to produce valid
JSON by <a
href="https://github.com/josh-newman"><code>@​josh-newman</code></a> in
<a
href="https://github.com/pydantic/pydantic-core/pull/1307">pydantic/pydantic-core#1307</a></li>
</ul>
<h4>Changes</h4>
<ul>
<li>Add warning when &quot;alias&quot; is set in ignored
<code>Annotated</code> field by <a
href="https://github.com/nix010"><code>@​nix010</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/9170">#9170</a></li>
<li>Support serialization of some serializable defaults in JSON schema
by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9624">#9624</a></li>
<li>Relax type specification for <code>__validators__</code> values in
<code>create_model</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9697">#9697</a></li>
<li><strong>Breaking Change:</strong> Improve <code>smart</code> union
matching logic by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic-core/pull/1322">pydantic/pydantic-core#1322</a>
You can read more about our <code>smart</code> union matching logic <a
href="https://docs.pydantic.dev/dev/concepts/unions/#smart-mode">here</a>.
In some cases, if the old behavior
is desired, you can switch to <code>left-to-right</code> mode and change
the order of your <code>Union</code> members.</li>
</ul>
<h4>Performance</h4>
<h5>Internal Improvements</h5>
<ul>
<li>⚡️ Speed up <code>_display_error_loc()</code> by 25% in
<code>pydantic/v1/error_wrappers.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9653">#9653</a></li>
<li>⚡️ Speed up <code>_get_all_json_refs()</code> by 34% in
<code>pydantic/json_schema.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9650">#9650</a></li>
<li>⚡️ Speed up <code>is_pydantic_dataclass()</code> by 41% in
<code>pydantic/dataclasses.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9652">#9652</a></li>
<li>⚡️ Speed up <code>to_snake()</code> by 27% in
<code>pydantic/alias_generators.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9747">#9747</a></li>
<li>⚡️ Speed up <code>unwrap_wrapped_function()</code> by 93% in
<code>pydantic/_internal/_decorators.py</code> by <a
href="https://github.com/misrasaurabh1"><code>@​misrasaurabh1</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9727">#9727</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Replace <code>__spec__.parent</code> with <code>__package__</code>
by <a href="https://github.com/hramezani"><code>@​hramezani</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/9331">#9331</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/1609e2ada1cd74a6d6afdc34e27c5f81d402928b"><code>1609e2a</code></a>
Prep for v2.8 release (<a
href="https://github.com/pydantic/pydantic/issues/9806">#9806</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/411dfd896e7f1445e15f4474c62219acf15b9050"><code>411dfd8</code></a>
👥 Update Pydantic People (<a
href="https://github.com/pydantic/pydantic/issues/9803">#9803</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/e280663fd368aac99f5e9b5a7ad36372ec6e627d"><code>e280663</code></a>
Add Nested Model Field Validation Examples to Docs (<a
href="https://github.com/pydantic/pydantic/issues/9735">#9735</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/a002e6977d463da80321be91214459f704f14bc0"><code>a002e69</code></a>
Fix Python version check for <code>_eval_type</code> (<a
href="https://github.com/pydantic/pydantic/issues/9781">#9781</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/e108fd175401b66c669f7e96e6c52c8e8d5efea2"><code>e108fd1</code></a>
Docs updates to prep for v2.8 (<a
href="https://github.com/pydantic/pydantic/issues/9778">#9778</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/011d8b600681528586374a0967634c938e543ca3"><code>011d8b6</code></a>
Fix documentation formatting (<a
href="https://github.com/pydantic/pydantic/issues/9779">#9779</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/738b5d71c461eb7579b471f3c79d5c7d2166a6d3"><code>738b5d7</code></a>
Add note about Pipeline API recommended usage (<a
href="https://github.com/pydantic/pydantic/issues/9777">#9777</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/8a0f3353966b220f62e661c568ccd31dfe81d872"><code>8a0f335</code></a>
Document and test <code>ser_json_inf_nan='strings'</code> variant (<a
href="https://github.com/pydantic/pydantic/issues/9771">#9771</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/764e14881de27183b3ccfcc4b2dbbe0594000b5f"><code>764e148</code></a>
Preparing for the v2.8.0b1 release! (<a
href="https://github.com/pydantic/pydantic/issues/9776">#9776</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/fcd20108b3a3efaeb7038566bd40f570e556fb96"><code>fcd2010</code></a>
<code>validate_call</code> type params fix (<a
href="https://github.com/pydantic/pydantic/issues/9760">#9760</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pydantic/pydantic/compare/v2.7.4...v2.8.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `flake8-comprehensions` from 3.14.0 to 3.15.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b348af1c22e8ef34e2fd9b501918b4f45002db20"><code>b348af1</code></a>
Version 3.15.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/1ae816f430a668ee527d1fd240640cff291b84cb"><code>1ae816f</code></a>
Add rule for dict comprehensions with constant values (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/553">#553</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/226a7e0e58b231d8ae47080a4459172b9a29b708"><code>226a7e0</code></a>
Improve MyPy configuration</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a562c757802890635d0723dfc312be496f2c978b"><code>a562c75</code></a>
Tidy pyproject.toml readme and license fields</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e609dea5202dd0663a996c11883da7723f69e9c8"><code>e609dea</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/579">#579</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/9506eef08eca053bbca03fd8d2eef54b6caff5ec"><code>9506eef</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/578">#578</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/353b7b5f4571ac620fd2db62680cffccc219a2d9"><code>353b7b5</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/577">#577</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/419907c69778ad9e3c5fedb1a3e6700a9584a680"><code>419907c</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/576">#576</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/75cf66dc88b690941fac2c1a4e5255d1343a2c87"><code>75cf66d</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/575">#575</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b0dd1652ec50fb9e2b50b69aece0f85fd547894a"><code>b0dd165</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/574">#574</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/3.14.0...3.15.0">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tugrulates pushed a commit to tugrulates/template-python that referenced this pull request Jul 2, 2024
Bumps the dependencies group with 2 updates:
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
and [mypy](https://github.com/python/mypy).

Updates `flake8-comprehensions` from 3.14.0 to 3.15.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b348af1c22e8ef34e2fd9b501918b4f45002db20"><code>b348af1</code></a>
Version 3.15.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/1ae816f430a668ee527d1fd240640cff291b84cb"><code>1ae816f</code></a>
Add rule for dict comprehensions with constant values (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/553">#553</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/226a7e0e58b231d8ae47080a4459172b9a29b708"><code>226a7e0</code></a>
Improve MyPy configuration</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a562c757802890635d0723dfc312be496f2c978b"><code>a562c75</code></a>
Tidy pyproject.toml readme and license fields</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e609dea5202dd0663a996c11883da7723f69e9c8"><code>e609dea</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/579">#579</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/9506eef08eca053bbca03fd8d2eef54b6caff5ec"><code>9506eef</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/578">#578</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/353b7b5f4571ac620fd2db62680cffccc219a2d9"><code>353b7b5</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/577">#577</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/419907c69778ad9e3c5fedb1a3e6700a9584a680"><code>419907c</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/576">#576</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/75cf66dc88b690941fac2c1a4e5255d1343a2c87"><code>75cf66d</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/575">#575</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/b0dd1652ec50fb9e2b50b69aece0f85fd547894a"><code>b0dd165</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/574">#574</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/3.14.0...3.15.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `mypy` from 1.10.0 to 1.10.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's
changelog</a>.</em></p>
<blockquote>
<h4>Mypy 1.10.1</h4>
<ul>
<li>Fix error reporting on cached run after uninstallation of third
party library (Shantanu, PR <a
href="https://github.com/python/mypy/pull/17420">17420</a>)</li>
</ul>
<h4>Acknowledgements</h4>
<p>Thanks to all mypy contributors who contributed to this release:</p>
<ul>
<li>Alex Waygood</li>
<li>Ali Hamdan</li>
<li>Edward Paget</li>
<li>Evgeniy Slobodkin</li>
<li>Hashem</li>
<li>hesam</li>
<li>Hugo van Kemenade</li>
<li>Ihor</li>
<li>James Braza</li>
<li>Jelle Zijlstra</li>
<li>jhance</li>
<li>Jukka Lehtosalo</li>
<li>Loïc Simon</li>
<li>Marc Mueller</li>
<li>Matthieu Devlin</li>
<li>Michael R. Crusoe</li>
<li>Nikita Sobolev</li>
<li>Oskari Lehto</li>
<li>Riccardo Di Maio</li>
<li>Richard Si</li>
<li>roberfi</li>
<li>Roman Solomatin</li>
<li>Sam Xifaras</li>
<li>Shantanu</li>
<li>Spencer Brown</li>
<li>Srinivas Lade</li>
<li>Tamir Duberstein</li>
<li>youkaichao</li>
</ul>
<p>I’d also like to thank my employer, Dropbox, for supporting mypy
development.</p>
<h2>Mypy 1.9</h2>
<p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a
href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type
checker for Python. This release includes new features, performance
improvements and bug fixes. You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<p>You can read the full documentation for this release on <a
href="http://mypy.readthedocs.io">Read the Docs</a>.</p>
<h4>Breaking Changes</h4>
<p>Because the version of typeshed we use in mypy 1.9 doesn't support
3.7, neither does mypy 1.9. (Jared Hance, PR <a
href="https://github.com/python/mypy/pull/16883">16883</a>)</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/c28b5257b528f65a028e7d0dbecbcd81c7997356"><code>c28b525</code></a>
[1.10 backport] Fix error reporting on cached run after uninstallation
of thi...</li>
<li>See full diff in <a
href="https://github.com/python/mypy/compare/v1.10.0...v1.10.1">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
facebook-github-bot pushed a commit to facebookincubator/kernel-patches-daemon that referenced this pull request Jul 8, 2024
Summary:
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.14.0 to 3.15.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's changelog</a>.</em></p>
<blockquote>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values, encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR [#553](adamchainz/flake8-comprehensions#553) &lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/b348af1c22e8ef34e2fd9b501918b4f45002db20"><code>b348af1</code></a> Version 3.15.0</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/1ae816f430a668ee527d1fd240640cff291b84cb"><code>1ae816f</code></a> Add rule for dict comprehensions with constant values (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/553">#553</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/226a7e0e58b231d8ae47080a4459172b9a29b708"><code>226a7e0</code></a> Improve MyPy configuration</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/a562c757802890635d0723dfc312be496f2c978b"><code>a562c75</code></a> Tidy pyproject.toml readme and license fields</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/e609dea5202dd0663a996c11883da7723f69e9c8"><code>e609dea</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/579">#579</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/9506eef08eca053bbca03fd8d2eef54b6caff5ec"><code>9506eef</code></a> Upgrade requirements (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/578">#578</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/353b7b5f4571ac620fd2db62680cffccc219a2d9"><code>353b7b5</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/577">#577</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/419907c69778ad9e3c5fedb1a3e6700a9584a680"><code>419907c</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/576">#576</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/75cf66dc88b690941fac2c1a4e5255d1343a2c87"><code>75cf66d</code></a> Upgrade requirements (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/575">#575</a>)</li>
<li><a href="https://github.com/adamchainz/flake8-comprehensions/commit/b0dd1652ec50fb9e2b50b69aece0f85fd547894a"><code>b0dd165</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/adamchainz/flake8-comprehensions/issues/574">#574</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/adamchainz/flake8-comprehensions/compare/3.14.0...3.15.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flake8-comprehensions&package-manager=pip&previous-version=3.14.0&new-version=3.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)

</details>

Pull Request resolved: #44

Reviewed By: danielocfb

Differential Revision: D59246667

fbshipit-source-id: 5d3741d44dc834309f04fde765dd3cc2e1da9ed7
github-merge-queue bot pushed a commit to openvinotoolkit/openvino that referenced this pull request Oct 28, 2024
… /src/bindings/python (#27268)

Updates the requirements on
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.16.0 (2024-10-27)</h2>
<ul>
<li>
<p>Drop Python 3.8 support.</p>
</li>
<li>
<p>Support Python 3.13.</p>
</li>
</ul>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
<h2>3.14.0 (2023-07-10)</h2>
<ul>
<li>Drop Python 3.7 support.</li>
</ul>
<h2>3.13.0 (2023-06-15)</h2>
<ul>
<li>Support Python 3.12.</li>
</ul>
<h2>3.12.0 (2023-04-13)</h2>
<ul>
<li>
<p>Add rule C418 to check for calls passing a dict literal or dict
comprehension to <code>dict()</code>.</p>
</li>
<li>
<p>Add rule C419 to check for calls passing a list comprehension to
<code>any()</code>/<code>all()</code>.</p>
</li>
</ul>
<h2>3.11.1 (2023-03-21)</h2>
<ul>
<li>
<p>Fix false positives in C406 “unnecessary dict literal”.</p>
<p>Fixes <code>Issue
[#260](adamchainz/flake8-comprehensions#260)
&lt;https://github.com/adamchainz/flake8-comprehensions/issues/260&gt;</code>__.</p>
</li>
</ul>
<h2>3.11.0 (2023-03-18)</h2>
<ul>
<li>
<p>Expand C416 to <code>dict</code> comprehensions.</p>
<p>Thanks to Aaron Gokaslan in <code>PR
[#490](adamchainz/flake8-comprehensions#490)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/490&gt;</code>__.</p>
</li>
</ul>
<h2>3.10.1 (2022-10-29)</h2>
<ul>
<li>Fix false positive in rules C402 and C404 for <code>dict()</code>
calls with keyword arguments.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/bf5861b1b3d1eb1b661a34ae71db1a2bf80ced5d"><code>bf5861b</code></a>
Version 3.16.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/bd8b05591006538f60602403dc2448e0c9c4f12d"><code>bd8b055</code></a>
Drop Python 3.8 support (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/600">#600</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/cfba30c175ddc41f2a43a94cbffac013b9fccac1"><code>cfba30c</code></a>
Add automated release process (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/601">#601</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e49e753e5661e17a553d14a610f0807152d9f843"><code>e49e753</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/599">#599</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/2bc3ccbe27502377a7fd244714f1ce1d6c2efc84"><code>2bc3ccb</code></a>
Bump astral-sh/setup-uv from 1 to 3 in the github-actions group (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/598">#598</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a7842a644ff573e5d567b52332fb5cb27889adaf"><code>a7842a6</code></a>
Support Python 3.13 (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/597">#597</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/7df8477e2b055fdc1fd0ae51f2bed75152e54c8a"><code>7df8477</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/596">#596</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/4272785a82e6603fac06c67ef9457d2a9a88550e"><code>4272785</code></a>
Use uv on GitHub Actions (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/595">#595</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a03d78f1845b6b3034f39b08eda3fba47af20fa7"><code>a03d78f</code></a>
Move automatic updates to monthly</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/5ea939475914a2a534bd302c4fe5f3e704c30c95"><code>5ea9394</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/594">#594</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/1.0.0...3.16.0">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
CuriousPanCake pushed a commit to CuriousPanCake/openvino that referenced this pull request Nov 6, 2024
… /src/bindings/python (openvinotoolkit#27268)

Updates the requirements on
[flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst">flake8-comprehensions's
changelog</a>.</em></p>
<blockquote>
<h2>3.16.0 (2024-10-27)</h2>
<ul>
<li>
<p>Drop Python 3.8 support.</p>
</li>
<li>
<p>Support Python 3.13.</p>
</li>
</ul>
<h2>3.15.0 (2024-06-29)</h2>
<ul>
<li>
<p>Add rule C420 to check for dict comprehensions with constant values,
encouraging replacement with <code>dict.fromkeys()</code>.</p>
<p>Thanks to Tom Kuson in <code>PR
[openvinotoolkit#553](adamchainz/flake8-comprehensions#553)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/553&gt;</code>__.</p>
</li>
</ul>
<h2>3.14.0 (2023-07-10)</h2>
<ul>
<li>Drop Python 3.7 support.</li>
</ul>
<h2>3.13.0 (2023-06-15)</h2>
<ul>
<li>Support Python 3.12.</li>
</ul>
<h2>3.12.0 (2023-04-13)</h2>
<ul>
<li>
<p>Add rule C418 to check for calls passing a dict literal or dict
comprehension to <code>dict()</code>.</p>
</li>
<li>
<p>Add rule C419 to check for calls passing a list comprehension to
<code>any()</code>/<code>all()</code>.</p>
</li>
</ul>
<h2>3.11.1 (2023-03-21)</h2>
<ul>
<li>
<p>Fix false positives in C406 “unnecessary dict literal”.</p>
<p>Fixes <code>Issue
[openvinotoolkit#260](adamchainz/flake8-comprehensions#260)
&lt;https://github.com/adamchainz/flake8-comprehensions/issues/260&gt;</code>__.</p>
</li>
</ul>
<h2>3.11.0 (2023-03-18)</h2>
<ul>
<li>
<p>Expand C416 to <code>dict</code> comprehensions.</p>
<p>Thanks to Aaron Gokaslan in <code>PR
[openvinotoolkit#490](adamchainz/flake8-comprehensions#490)
&lt;https://github.com/adamchainz/flake8-comprehensions/pull/490&gt;</code>__.</p>
</li>
</ul>
<h2>3.10.1 (2022-10-29)</h2>
<ul>
<li>Fix false positive in rules C402 and C404 for <code>dict()</code>
calls with keyword arguments.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/bf5861b1b3d1eb1b661a34ae71db1a2bf80ced5d"><code>bf5861b</code></a>
Version 3.16.0</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/bd8b05591006538f60602403dc2448e0c9c4f12d"><code>bd8b055</code></a>
Drop Python 3.8 support (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/600">#600</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/cfba30c175ddc41f2a43a94cbffac013b9fccac1"><code>cfba30c</code></a>
Add automated release process (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/601">#601</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/e49e753e5661e17a553d14a610f0807152d9f843"><code>e49e753</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/599">#599</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/2bc3ccbe27502377a7fd244714f1ce1d6c2efc84"><code>2bc3ccb</code></a>
Bump astral-sh/setup-uv from 1 to 3 in the github-actions group (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/598">#598</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a7842a644ff573e5d567b52332fb5cb27889adaf"><code>a7842a6</code></a>
Support Python 3.13 (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/597">#597</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/7df8477e2b055fdc1fd0ae51f2bed75152e54c8a"><code>7df8477</code></a>
Upgrade requirements (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/596">#596</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/4272785a82e6603fac06c67ef9457d2a9a88550e"><code>4272785</code></a>
Use uv on GitHub Actions (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/595">#595</a>)</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/a03d78f1845b6b3034f39b08eda3fba47af20fa7"><code>a03d78f</code></a>
Move automatic updates to monthly</li>
<li><a
href="https://github.com/adamchainz/flake8-comprehensions/commit/5ea939475914a2a534bd302c4fe5f3e704c30c95"><code>5ea9394</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://github.com/adamchainz/flake8-comprehensions/issues/594">#594</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adamchainz/flake8-comprehensions/compare/1.0.0...3.16.0">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Detect dictionary comprehensions with constant values
2 participants