issues: 1287325944
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | pull_request | body | repo | type | active_lock_reason | performed_via_github_app | reactions | draft | state_reason |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1287325944 | PR_kwDOBm6k_c46ftHo | 1763 | Bump black from 22.1.0 to 22.6.0 | 49699333 | closed | 0 | 1 | 2022-06-28T13:11:32Z | 2022-06-28T17:40:25Z | 2022-06-28T17:40:25Z | CONTRIBUTOR | simonw/datasette/pulls/1763 | Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>22.6.0</h2> <h3>Style</h3> <ul> <li>Fix unstable formatting involving <code>#fmt: skip</code> and <code># fmt:skip</code> comments (notice the lack of spaces) (<a href="https://github-redirect.dependabot.com/psf/black/issues/2970">#2970</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Docstring quotes are no longer moved if it would violate the line length limit (<a href="https://github-redirect.dependabot.com/psf/black/issues/3044">#3044</a>)</li> <li>Parentheses around return annotations are now managed (<a href="https://github-redirect.dependabot.com/psf/black/issues/2990">#2990</a>)</li> <li>Remove unnecessary parentheses around awaited objects (<a href="https://github-redirect.dependabot.com/psf/black/issues/2991">#2991</a>)</li> <li>Remove unnecessary parentheses in <code>with</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2926">#2926</a>)</li> <li>Remove trailing newlines after code block open (<a href="https://github-redirect.dependabot.com/psf/black/issues/3035">#3035</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add <code>scripts/migrate-black.py</code> script to ease introduction of Black to a Git project (<a href="https://github-redirect.dependabot.com/psf/black/issues/3038">#3038</a>)</li> </ul> <h3>Output</h3> <ul> <li>Output Python version and implementation as part of <code>--version</code> flag (<a href="https://github-redirect.dependabot.com/psf/black/issues/2997">#2997</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Use <code>tomli</code> instead of <code>tomllib</code> on Python 3.11 builds where <code>tomllib</code> is not available (<a href="https://github-redirect.dependabot.com/psf/black/issues/2987">#2987</a>)</li> </ul> <h3>Parser</h3> <ul> <li><a href="https://peps.python.org/pep-0654/#except">PEP 654</a> syntax (for example, <code>except *ExceptionGroup:</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3016">#3016</a>)</li> <li><a href="https://peps.python.org/pep-0646">PEP 646</a> syntax (for example, <code>Array[Batch, *Shape]</code> or <code>def fn(*args: *T) -> None</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3071">#3071</a>)</li> </ul> <h3>Vim Plugin</h3> <ul> <li>Fix <code>strtobool</code> function. It didn't parse true/on/false/off. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3025">#3025</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/psf/black/compare/22.3.0...22.6.0">https://github.com/psf/black/compare/22.3.0...22.6.0</a></p> <hr /> <p><strong>Thank you!</strong></p> <ul> <li><a href="https://github.com/jpy-git"><code>@jpy-git</code></a> for improving our parentheses formatting significantly</li> <li><a href="https://github.com/siuryan"><code>@siuryan</code></a> for fixing a fmt: skip bug, making it a little less annoying to use :)</li> <li><a href="https://github.com/isidentical"><code>@isidentical</code></a> for implementing support for PEP 654 and 646 syntax</li> <li><a href="https://github.com/defntvdm"><code>@defntvdm</code></a> for fixing our vim plugin, especially as we (the maintainers) don't really know vim script sadly</li> <li><a href="https://github.com/idorrington92"><code>@idorrington92</code></a> for fixing the docstring bug where Black would move the closing quotes causing it to violate the line length limit (whoops!)</li> <li><a href="https://github.com/hbrunn"><code>@hbrunn</code></a> for contributing the migrate-black script</li> <li><a href="https://github.com/saroad2"><code>@saroad2</code></a> for improving newline handling after code blocks and test infrastructure improvements</li> </ul> <p>... and everyone else who contributed documentation, tests, or other improvements to the Black project!</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>22.6.0</h2> <h3>Style</h3> <ul> <li>Fix unstable formatting involving <code>#fmt: skip</code> and <code># fmt:skip</code> comments (notice the lack of spaces) (<a href="https://github-redirect.dependabot.com/psf/black/issues/2970">#2970</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Docstring quotes are no longer moved if it would violate the line length limit (<a href="https://github-redirect.dependabot.com/psf/black/issues/3044">#3044</a>)</li> <li>Parentheses around return annotations are now managed (<a href="https://github-redirect.dependabot.com/psf/black/issues/2990">#2990</a>)</li> <li>Remove unnecessary parentheses around awaited objects (<a href="https://github-redirect.dependabot.com/psf/black/issues/2991">#2991</a>)</li> <li>Remove unnecessary parentheses in <code>with</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2926">#2926</a>)</li> <li>Remove trailing newlines after code block open (<a href="https://github-redirect.dependabot.com/psf/black/issues/3035">#3035</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add <code>scripts/migrate-black.py</code> script to ease introduction of Black to a Git project (<a href="https://github-redirect.dependabot.com/psf/black/issues/3038">#3038</a>)</li> </ul> <h3>Output</h3> <ul> <li>Output Python version and implementation as part of <code>--version</code> flag (<a href="https://github-redirect.dependabot.com/psf/black/issues/2997">#2997</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Use <code>tomli</code> instead of <code>tomllib</code> on Python 3.11 builds where <code>tomllib</code> is not available (<a href="https://github-redirect.dependabot.com/psf/black/issues/2987">#2987</a>)</li> </ul> <h3>Parser</h3> <ul> <li><a href="https://peps.python.org/pep-0654/#except">PEP 654</a> syntax (for example, <code>except *ExceptionGroup:</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3016">#3016</a>)</li> <li><a href="https://peps.python.org/pep-0646">PEP 646</a> syntax (for example, <code>Array[Batch, *Shape]</code> or <code>def fn(*args: *T) -> None</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3071">#3071</a>)</li> </ul> <h3>Vim Plugin</h3> <ul> <li>Fix <code>strtobool</code> function. It didn't parse true/on/false/off. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3025">#3025</a>)</li> </ul> <h2>22.3.0</h2> <h3>Preview style</h3> <ul> <li>Code cell separators <code>#%%</code> are now standardised to <code># %%</code> (<a href="https://github-redirect.dependabot.com/psf/black/issues/2919">#2919</a>)</li> <li>Remove unnecessary parentheses from <code>except</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2939">#2939</a>)</li> <li>Remove unnecessary parentheses from tuple unpacking in <code>for</code> loops (<a href="https://github-redirect.dependabot.com/psf/black/issues/2945">#2945</a>)</li> <li>Avoid magic-trailing-comma in single-element subscripts (<a href="https://github-redirect.dependabot.com/psf/black/issues/2942">#2942</a>)</li> </ul> <h3>Configuration</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/f6c139c5215ce04fd3e73a900f1372942d58eca0"><code>f6c139c</code></a> Prepare docs for release 22.6.0 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3139">#3139</a>)</li> <li><a href="https://github.com/psf/black/commit/eb5d175c9cd3c14a0731f8afd0cc5a18264353e7"><code>eb5d175</code></a> Update preview style docs to include recent changes (<a href="https://github-redirect.dependabot.com/psf/black/issues/3136">#3136</a>)</li> <li><a href="https://github.com/psf/black/commit/d848209d38cadaa060a023c223495e7874984ddc"><code>d848209</code></a> Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3138">#3138</a>)</li> <li><a href="https://github.com/psf/black/commit/fa6caa6ca8489103d22d23f8f4ae4d3569bb115e"><code>fa6caa6</code></a> Only call get_future_imports when needed (<a href="https://github-redirect.dependabot.com/psf/black/issues/3135">#3135</a>)</li> <li><a href="https://github.com/psf/black/commit/6463fb874f6fd93d9a3b857e24987d5fa6ae0d57"><code>6463fb8</code></a> Bump sphinx from 5.0.1 to 5.0.2 in /docs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3128">#3128</a>)</li> <li><a href="https://github.com/psf/black/commit/e3c9b0430eae5de35fdbeed047f9b2f07f9b78de"><code>e3c9b04</code></a> Replace link to Requests documentation (<a href="https://github-redirect.dependabot.com/psf/black/issues/3125">#3125</a>)</li> <li><a href="https://github.com/psf/black/commit/6c1bd08f16b636de38b92aeb2e0a1e8ebef0a0b1"><code>6c1bd08</code></a> Test run black on self (<a href="https://github-redirect.dependabot.com/psf/black/issues/3114">#3114</a>)</li> <li><a href="https://github.com/psf/black/commit/799adb53239e4a1e87253d40bc1cbd34f9103c52"><code>799adb5</code></a> Bump actions/setup-python from 3 to 4 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3121">#3121</a>)</li> <li><a href="https://github.com/psf/black/commit/162ecd1d2cf9471efefb5b61c17d28b73acb79a1"><code>162ecd1</code></a> Use is_number_token instead of assertion (<a href="https://github-redirect.dependabot.com/psf/black/issues/3069">#3069</a>)</li> <li><a href="https://github.com/psf/black/commit/8c8675c62aef4fb662c686d19ebd35dc047258f0"><code>8c8675c</code></a> Update documentation dependencies (<a href="https://github-redirect.dependabot.com/psf/black/issues/3118">#3118</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.1.0...22.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=22.1.0&new-version=22.6.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 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> | 107914493 | pull | {"url": "https://api.github.com/repos/simonw/datasette/issues/1763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 0 |