issues: 1358848933
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1358848933 | PR_kwDOBm6k_c4-NhzQ | 1797 | Bump black from 22.6.0 to 22.8.0 | 49699333 | closed | 0 | 0 | 2022-09-01T13:25:14Z | 2022-09-05T18:51:52Z | 2022-09-05T18:51:52Z | CONTRIBUTOR | simonw/datasette/pulls/1797 | Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.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.8.0</h2> <h3>Highlights</h3> <ul> <li>Python 3.11 is now supported, except for <em>blackd</em> as aiohttp does not support 3.11 as of publishing (<a href="https://github-redirect.dependabot.com/psf/black/issues/3234">#3234</a>)</li> <li>This is the last release that supports running <em>Black</em> on Python 3.6 (formatting 3.6 code will continue to be supported until further notice)</li> <li>Reword the stability policy to say that we may, in rare cases, make changes that affect code that was not previously formatted by <em>Black</em> (<a href="https://github-redirect.dependabot.com/psf/black/issues/3155">#3155</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix an infinite loop when using <code># fmt: on/off</code> in the middle of an expression or code block (<a href="https://github-redirect.dependabot.com/psf/black/issues/3158">#3158</a>)</li> <li>Fix incorrect handling of <code># fmt: skip</code> on colon (<code>:</code>) lines (<a href="https://github-redirect.dependabot.com/psf/black/issues/3148">#3148</a>)</li> <li>Comments are no longer deleted when a line had spaces removed around power operators (<a href="https://github-redirect.dependabot.com/psf/black/issues/2874">#2874</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Single-character closing docstring quotes are no longer moved to their own line as this is invalid. This was a bug introduced in version 22.6.0. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3166">#3166</a>)</li> <li><code>--skip-string-normalization</code> / <code>-S</code> now prevents docstring prefixes from being normalized as expected (<a href="https://github-redirect.dependabot.com/psf/black/issues/3168">#3168</a>)</li> <li>When using <code>--skip-magic-trailing-comma</code> or <code>-C</code>, trailing commas are stripped from subscript expressions with more than 1 element (<a href="https://github-redirect.dependabot.com/psf/black/issues/3209">#3209</a>)</li> <li>Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside parentheses (<a href="https://github-redirect.dependabot.com/psf/black/issues/3162">#3162</a>)</li> <li>Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (<a href="https://github-redirect.dependabot.com/psf/black/issues/3227">#3227</a>)</li> </ul> <h3><em>Blackd</em></h3> <ul> <li><code>blackd</code> now supports enabling the preview style via the <code>X-Preview</code> header (<a href="https://github-redirect.dependabot.com/psf/black/issues/3217">#3217</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Black now uses the presence of debug f-strings to detect target version (<a href="https://github-redirect.dependabot.com/psf/black/issues/3215">#3215</a>)</li> <li>Fix misdetection of project root and verbose logging of sources in cases involving <code>--stdin-filename</code> (<a href="https://github-redirect.dependabot.com/psf/black/issues/3216">#3216</a>)</li> <li>Immediate <code>.gitignore</code> files in source directories given on the command line are now also respected, previously only <code>.gitignore</code> files in the project root and automatically discovered directories were respected (<a href="https://github-redirect.dependabot.com/psf/black/issues/3237">#3237</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Recommend using BlackConnect in IntelliJ IDEs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3150">#3150</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Vim plugin: prefix messages with <code>Black: </code> so it's clear they come from Black (<a href="https://github-redirect.dependabot.com/psf/black/issues/3194">#3194</a>)</li> <li>Docker: changed to a /opt/venv installation + added to PATH to be available to non-root users (<a href="https://github-redirect.dependabot.com/psf/black/issues/3202">#3202</a>)</li> </ul> <h3>Output</h3> <ul> <li>Change from deprecated <code>asyncio.get_event_loop()</code> to create our event loop which removes DeprecationWarning (<a href="https://github-redirect.dependabot.com/psf/black/issues/3164">#3164</a>)</li> <li>Remove logging from internal <code>blib2to3</code> library since it regularly emits error logs about failed caching that can and should be ignored (<a href="https://github-redirect.dependabot.com/psf/black/issues/3193">#3193</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Type comments are now included in the AST equivalence check consistently so accidental deletion raises an error. Though type comments can't be tracked when running on PyPy 3.7 due to standard library limitations. (<a href="https://github-redirect.dependabot.com/psf/black/issues/2874">#2874</a>)</li> </ul> <h3>Performance</h3> <!-- 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.8.0</h2> <h3>Highlights</h3> <ul> <li>Python 3.11 is now supported, except for <em>blackd</em> as aiohttp does not support 3.11 as of publishing (<a href="https://github-redirect.dependabot.com/psf/black/issues/3234">#3234</a>)</li> <li>This is the last release that supports running <em>Black</em> on Python 3.6 (formatting 3.6 code will continue to be supported until further notice)</li> <li>Reword the stability policy to say that we may, in rare cases, make changes that affect code that was not previously formatted by <em>Black</em> (<a href="https://github-redirect.dependabot.com/psf/black/issues/3155">#3155</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix an infinite loop when using <code># fmt: on/off</code> in the middle of an expression or code block (<a href="https://github-redirect.dependabot.com/psf/black/issues/3158">#3158</a>)</li> <li>Fix incorrect handling of <code># fmt: skip</code> on colon (<code>:</code>) lines (<a href="https://github-redirect.dependabot.com/psf/black/issues/3148">#3148</a>)</li> <li>Comments are no longer deleted when a line had spaces removed around power operators (<a href="https://github-redirect.dependabot.com/psf/black/issues/2874">#2874</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Single-character closing docstring quotes are no longer moved to their own line as this is invalid. This was a bug introduced in version 22.6.0. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3166">#3166</a>)</li> <li><code>--skip-string-normalization</code> / <code>-S</code> now prevents docstring prefixes from being normalized as expected (<a href="https://github-redirect.dependabot.com/psf/black/issues/3168">#3168</a>)</li> <li>When using <code>--skip-magic-trailing-comma</code> or <code>-C</code>, trailing commas are stripped from subscript expressions with more than 1 element (<a href="https://github-redirect.dependabot.com/psf/black/issues/3209">#3209</a>)</li> <li>Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside parentheses (<a href="https://github-redirect.dependabot.com/psf/black/issues/3162">#3162</a>)</li> <li>Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (<a href="https://github-redirect.dependabot.com/psf/black/issues/3227">#3227</a>)</li> </ul> <h3><em>Blackd</em></h3> <ul> <li><code>blackd</code> now supports enabling the preview style via the <code>X-Preview</code> header (<a href="https://github-redirect.dependabot.com/psf/black/issues/3217">#3217</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Black now uses the presence of debug f-strings to detect target version (<a href="https://github-redirect.dependabot.com/psf/black/issues/3215">#3215</a>)</li> <li>Fix misdetection of project root and verbose logging of sources in cases involving <code>--stdin-filename</code> (<a href="https://github-redirect.dependabot.com/psf/black/issues/3216">#3216</a>)</li> <li>Immediate <code>.gitignore</code> files in source directories given on the command line are now also respected, previously only <code>.gitignore</code> files in the project root and automatically discovered directories were respected (<a href="https://github-redirect.dependabot.com/psf/black/issues/3237">#3237</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Recommend using BlackConnect in IntelliJ IDEs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3150">#3150</a>)</li> </ul> <h3>Integrations</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/2018e667a6a36ee3fbfa8041cd36512f92f60d49"><code>2018e66</code></a> Prepare docs for release 22.8.0 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3248">#3248</a>)</li> <li><a href="https://github.com/psf/black/commit/0019261abcf6d9e564ba32d3cc15534b9026f29e"><code>0019261</code></a> Update stable branch after publishing to PyPI (<a href="https://github-redirect.dependabot.com/psf/black/issues/3223">#3223</a>)</li> <li><a href="https://github.com/psf/black/commit/7757078ecd84d349bb24ab61e79062ba50162ef9"><code>7757078</code></a> Improve & update release process to reflect recent changes (<a href="https://github-redirect.dependabot.com/psf/black/issues/3242">#3242</a>)</li> <li><a href="https://github.com/psf/black/commit/767604e03f5e454ae5b5c268cd5831c672f46de8"><code>767604e</code></a> Use .gitignore files in the initial source directories (<a href="https://github-redirect.dependabot.com/psf/black/issues/3237">#3237</a>)</li> <li><a href="https://github.com/psf/black/commit/2c90480e1a102ab0fac57737d2ba5143d82abed7"><code>2c90480</code></a> Use strict mypy checking (<a href="https://github-redirect.dependabot.com/psf/black/issues/3222">#3222</a>)</li> <li><a href="https://github.com/psf/black/commit/ba618a307a30a119b4fafe526ebf7d5f092ba981"><code>ba618a3</code></a> Add parens around implicit string concatenations where it increases readabili...</li> <li><a href="https://github.com/psf/black/commit/c0cc19b5b3371842d696875897bebefebd5e1596"><code>c0cc19b</code></a> Delay worker count determination</li> <li><a href="https://github.com/psf/black/commit/afed2c01903465f9a486ac481a66aa3413cc1b01"><code>afed2c0</code></a> Load .gitignore and exclude regex at time of use</li> <li><a href="https://github.com/psf/black/commit/e269f44b25737360e0dc65379f889dfa931dc68a"><code>e269f44</code></a> Lazily import parallelized format modules</li> <li><a href="https://github.com/psf/black/commit/c47b91f513052cd39b818ea7c19716423c85c04e"><code>c47b91f</code></a> Fix misdetection of project root with <code>--stdin-filename</code> (<a href="https://github-redirect.dependabot.com/psf/black/issues/3216">#3216</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.6.0...22.8.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.6.0&new-version=22.8.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> <!-- readthedocs-preview datasette start --> ---- :books: Documentation preview :books:: https://datasette--1797.org.readthedocs.build/en/1797/ <!-- readthedocs-preview datasette end --> | 107914493 | pull | {"url": "https://api.github.com/repos/simonw/datasette/issues/1797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 0 |