Closed Bug 1846385 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41263 - Bump pyflakes from 3.0.1 to 3.1.0 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41263 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41263
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump pyflakes from 3.0.1 to 3.1.0 in /tools

Bumps pyflakes from 3.0.1 to 3.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/PyCQA/pyflakes/blob/main/NEWS.rst">pyflakes's changelog</a>.</em></p>
<blockquote>
<p>3.1.0 (2023-07-29)</p>
<ul>
<li>Drop support for EOL python 3.6 / 3.7</li>
<li>Remove <code>ContinueInFinally</code> check (only relevant in python < 3.8)</li>
<li>Fix forward annotations inside a nested scope</li>
<li>Produce an error when a definition shadows an unused variable</li>
<li>Fix accessed global annotation being redefined in a local scope</li>
<li>Allow redefinition of functions across <code>match</code> arms</li>
<li>Fix potential <code>None</code> for <code>lineno</code> during tokenization errors</li>
<li>Add support for PEP 695 and python 3.12</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/PyCQA/pyflakes/commit/58b94a021b2d966a40a5bced06bdd6188ddb9fc2"><code>58b94a0</code></a> Release 3.1.0</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/afe2c4dbe57b0cf3c86ec96a7e622163b2171b4a"><code>afe2c4d</code></a> 3.12: add support for type params and type statements (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/778">#778</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/07278501d5fc18d692f726907801f5687d92d680"><code>0727850</code></a> fix test failures in python 3.12 (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/777">#777</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/ad5e15f4a3011ccc9a34c06555fac58e3e09d3a1"><code>ad5e15f</code></a> remove deprecated ast references (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/776">#776</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/836631f2f73d45baa4021453d89fc9fd6f52be58"><code>836631f</code></a> fix error reporter and testsuite in 3.11.4+ (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/775">#775</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/f2671ffe1785754f0e73d148635cbb38e673e169"><code>f2671ff</code></a> allow redefinition of functions across match arms (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/772">#772</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/e19886e583637a7e2eec428cc036094b9630f2d0"><code>e19886e</code></a> fix accessed global annotation being redefined in a local scope (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/765">#765</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/e9324649874a7124a08c3826d4cf78a4dc3aa32c"><code>e932464</code></a> produce an error when a definition shadows an unused assignment (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/761">#761</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/33bbb8266420e34a93ea74299177c19fd463acc0"><code>33bbb82</code></a> pushScope / popScope -> with in_scope(...) (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/755">#755</a>)</li>
<li><a href="https://github.com/PyCQA/pyflakes/commit/c3273c54c94cb96927d730c6bf5d12383c85777f"><code>c3273c5</code></a> handle deferred checking as a queue (<a href="https://redirect.github.com/PyCQA/pyflakes/issues/754">#754</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/PyCQA/pyflakes/compare/3.0.1...3.1.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.


<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 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>

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.