Compare commits

..

8 commits

Author SHA1 Message Date
David Larlet
ec050144f5
chore: bump djlint from 1.35.2 to 1.36.1 (#2254)
Some checks are pending
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
Test & Docs / docs (push) Waiting to run
Bumps [djlint](https://github.com/djlint/djLint) from 1.35.2 to 1.36.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/djlint/djLint/releases">djlint's
releases</a>.</em></p>
<blockquote>
<h2>v1.36.1</h2>
<ul>
<li>Improve performance by ~30%. Thanks, <a
href="https://github.com/oliverhaas"><code>@​oliverhaas</code></a>.</li>
</ul>
<h2>v1.36.0</h2>
<h3>Feature</h3>
<ul>
<li>Add support for <code>djlint.toml</code> config file. The format is
identical to <code>pyproject.toml</code>, but it does not use
<code>[tool.djlint]</code> table.</li>
</ul>
<h3>Fix</h3>
<ul>
<li>Do not format HTML in attributes. Thanks, <a
href="https://github.com/oliverhaas"><code>@​oliverhaas</code></a>.</li>
<li>Fix using <code>js_config</code> instead of
<code>css_config</code>.</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Increase performance by ~30% by using regex more efficiently and
caching more stuff.</li>
</ul>
<h2>v1.35.4</h2>
<p>Compiled <a
href="https://mypyc.readthedocs.io/en/stable/introduction.html">mypyc</a>
wheels are now also available, which improve performance by ~21% over
Pure Python. They will be automatically installed by your package
manager when available for your platform. Pure Python wheel is still
available.</p>
<p>Other changes have been made to improve performance, thanks to <a
href="https://github.com/JCWasmx86"><code>@​JCWasmx86</code></a>. See
the <a
href="https://github.com/djlint/djLint/compare/v1.35.3...v1.35.4">commits</a>
for more details.</p>
<p>Formatting performance comparison with the previous version (tested
on <a
href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a>
with single thread):</p>
<table>
<thead>
<tr>
<th>Version</th>
<th>Seconds</th>
</tr>
</thead>
<tbody>
<tr>
<td>v1.35.3</td>
<td>20.39</td>
</tr>
<tr>
<td>v1.35.4 pure Python</td>
<td>14.39</td>
</tr>
<tr>
<td>v1.35.4 compiled</td>
<td>11.35</td>
</tr>
</tbody>
</table>
<h2>v1.35.3</h2>
<p>This release significantly improves performance, especially for large
files and large projects.</p>
<p>Formatting <a
href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a>
took 87 seconds in the previous version, now it takes only 4 seconds
(&gt;2000% speedup)! Tested on a 32-core computer.</p>
<ul>
<li>Performance improved by caching some functions. Thanks to <a
href="https://github.com/JCWasmx86"><code>@​JCWasmx86</code></a>!</li>
<li>Removed the limitation on the number of workers introduced in
v1.35.0.</li>
<li>Drop Python 3.8 support.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/djlint/djLint/blob/master/CHANGELOG.md">djlint's
changelog</a>.</em></p>
<blockquote>
<h2>[1.36.1] - 2024-11-07</h2>
<ul>
<li>Improve performance by ~30%. Thanks, <a
href="https://github.com/oliverhaas"><code>@​oliverhaas</code></a>.</li>
</ul>
<h2>[1.36.0] - 2024-11-05</h2>
<h3>Feature</h3>
<ul>
<li>Add support for <code>djlint.toml</code> config file. The format is
identical to <code>pyproject.toml</code>, but it does not use
<code>[tool.djlint]</code> table.</li>
</ul>
<h3>Fix</h3>
<ul>
<li>Do not format HTML in attributes. Thanks, <a
href="https://github.com/oliverhaas"><code>@​oliverhaas</code></a>.</li>
<li>Fix using <code>js_config</code> instead of
<code>css_config</code>.</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Increase performance by ~30% by using regex more efficiently and
caching more stuff.</li>
</ul>
<h2>[1.35.4] - 2024-11-01</h2>
<p>Compiled <a
href="https://mypyc.readthedocs.io/en/stable/introduction.html">mypyc</a>
wheels are now also available, which improve performance by ~21% over
Pure Python. They will be automatically installed by your package
manager when available for your platform. Pure Python wheel is still
available.</p>
<p>Other changes have been made to improve performance, thanks to <a
href="https://github.com/JCWasmx86"><code>@​JCWasmx86</code></a>. See
the <a
href="https://github.com/djlint/djLint/compare/v1.35.3...v1.35.4">commits</a>
for more details.</p>
<p>Formatting performance comparison with the previous version (tested
on <a
href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a>
with single thread):</p>
<table>
<thead>
<tr>
<th>Version</th>
<th>Seconds</th>
</tr>
</thead>
<tbody>
<tr>
<td>v1.35.3</td>
<td>20.39</td>
</tr>
<tr>
<td>v1.35.4 pure Python</td>
<td>14.39</td>
</tr>
<tr>
<td>v1.35.4 compiled</td>
<td>11.35</td>
</tr>
</tbody>
</table>
<h2>[1.35.3] - 2024-10-30</h2>
<p>This release significantly improves performance, especially for large
files and large projects.</p>
<p>Formatting <a
href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a>
took 87 seconds in the previous version, now it takes only 4 seconds
(&gt;2000% speedup)! Tested on a 32-core computer.</p>
<ul>
<li>Performance improved by caching some functions. Thanks to <a
href="https://github.com/JCWasmx86"><code>@​JCWasmx86</code></a>!</li>
<li>Removed the limitation on the number of workers introduced in
v1.35.0.</li>
<li>Drop Python 3.8 support.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f908697f4e"><code>f908697</code></a>
chore: v1.36.1</li>
<li><a
href="92e2e84f64"><code>92e2e84</code></a>
chore(deps): lock file maintenance</li>
<li><a
href="96fec0e0e1"><code>96fec0e</code></a>
chore(deps): update dependency
<code>@​ianvs/prettier-plugin-sort-imports</code> to v4.4.0</li>
<li><a
href="a7050555f8"><code>a705055</code></a>
chore(deps): lock file maintenance</li>
<li><a
href="21dc6a12d7"><code>21dc6a1</code></a>
perf: simple skip for unformatted blocks (<a
href="https://redirect.github.com/djlint/djLint/issues/1005">#1005</a>)</li>
<li><a
href="9dc7ea3cb6"><code>9dc7ea3</code></a>
chore(deps): lock file maintenance</li>
<li><a
href="14530c8356"><code>14530c8</code></a>
chore: v1.36.0</li>
<li><a
href="d97be3b90e"><code>d97be3b</code></a>
fix: types.py -&gt; types.pyi</li>
<li><a
href="012ee62d47"><code>012ee62</code></a>
chore(deps): lock file maintenance</li>
<li><a
href="1afeeb87cf"><code>1afeeb8</code></a>
fix: fix type hint</li>
<li>Additional commits viewable in <a
href="https://github.com/djlint/djLint/compare/v1.35.2...v1.36.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=djlint&package-manager=pip&previous-version=1.35.2&new-version=1.36.1)](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>
2024-11-11 13:10:24 -05:00
David Larlet
ce59ee8544
chore: bump mkdocs-material from 9.5.42 to 9.5.44 (#2255)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material)
from 9.5.42 to 9.5.44.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's
releases</a>.</em></p>
<blockquote>
<h2>mkdocs-material-9.5.44</h2>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7672">#7672</a>:
Font CSS 404's when using privacy plugin (9.5.43 regression)</li>
</ul>
<p>Thanks go to <a
href="https://github.com/nejch"><code>@​nejch</code></a> for their
contributions.</p>
<h2>mkdocs-material-9.5.43</h2>
<ul>
<li>Added support for external images in SVGs in privacy plugin</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>:
Privacy plugin doesn't handle quoted URLs in CSS</li>
</ul>
<p>Thanks go to <a
href="https://github.com/nejch"><code>@​nejch</code></a> for their
contributions</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's
changelog</a>.</em></p>
<blockquote>
<p>mkdocs-material-9.5.44 (2024-11-05)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7672">#7672</a>:
Font CSS 404's when using privacy plugin (9.5.43 regression)</li>
</ul>
<p>mkdocs-material-9.5.43 (2024-10-31)</p>
<ul>
<li>Added support for external images in SVGs in privacy plugin</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>:
Privacy plugin doesn't handle quoted URLs in CSS</li>
</ul>
<p>mkdocs-material-9.5.42 (2024-10-20)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7625">#7625</a>:
Invalid encoding of boolean attributes in privacy plugin</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7624">#7624</a>:
Crash when disabling privacy plugin (9.5.41 regression)</li>
</ul>
<p>mkdocs-material-9.5.41 (2024-10-15)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7619">#7619</a>:
Improved tooltip on logo disappears after instant navigation</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7616">#7616</a>:
Race condition in built-in privacy plugin when inlining assets</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7615">#7615</a>:
Comments and &quot;Was this page helpful?&quot; visible when
printing</li>
</ul>
<p>mkdocs-material-9.5.40 (2024-10-10)</p>
<ul>
<li>Updated Latvian translations</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7597">#7597</a>:
Social cards not using site name on home page</li>
</ul>
<p>mkdocs-material-9.5.39+insiders-4.53.14 (2024-09-29)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7567">#7567</a>:
Empty headlines when using typeset plugin with anchorlinks</li>
</ul>
<p>mkdocs-material-9.5.39 (2024-09-29)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7226">#7226</a>:
not staying on page when using mike's canonical versioning</li>
</ul>
<p>mkdocs-material-9.5.38 (2024-09-26)</p>
<ul>
<li>Added Albanian translations</li>
</ul>
<p>mkdocs-material-9.5.37 (2024-09-25)</p>
<ul>
<li>Added 4th and 5th level ordered list styles</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>:
Tags have no spacing in search</li>
</ul>
<p>mkdocs-material-9.5.36 (2024-09-21)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>:
Social cards incorrectly rendering HTML entities</li>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>:
Improved support for setting custom list styles</li>
</ul>
<p>mkdocs-material-9.5.35 (2024-09-18)</p>
<ul>
<li>Fixed <a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>:
Search not showing for Vietnamese language</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="aa4ef560f0"><code>aa4ef56</code></a>
Prepare 9.5.44 release</li>
<li><a
href="eb63b608e2"><code>eb63b60</code></a>
Fixed file save regression in privacy plugin (<a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7673">#7673</a>)</li>
<li><a
href="ac3315fd3e"><code>ac3315f</code></a>
Updated dependencies</li>
<li><a
href="8a60b49328"><code>8a60b49</code></a>
Prepare 9.5.43 release</li>
<li><a
href="f82a345f3a"><code>f82a345</code></a>
Documentation</li>
<li><a
href="4918a10d8f"><code>4918a10</code></a>
Added support for quoted external CSS URLs in privacy plugin (<a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>)</li>
<li><a
href="7dc96f1e13"><code>7dc96f1</code></a>
Added support for downloading external images in SVG for privacy plugin
(<a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7650">#7650</a>)</li>
<li><a
href="1357cd26af"><code>1357cd2</code></a>
Updated dependencies</li>
<li><a
href="198a6801fc"><code>198a680</code></a>
Documentation (<a
href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7633">#7633</a>)</li>
<li><a
href="9aebe1498e"><code>9aebe14</code></a>
Updated dependencies</li>
<li>See full diff in <a
href="https://github.com/squidfunk/mkdocs-material/compare/9.5.42...9.5.44">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mkdocs-material&package-manager=pip&previous-version=9.5.42&new-version=9.5.44)](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>
2024-11-11 13:10:15 -05:00
dependabot[bot]
4a523b491b
chore: bump djlint from 1.35.2 to 1.36.1
Bumps [djlint](https://github.com/djlint/djLint) from 1.35.2 to 1.36.1.
- [Release notes](https://github.com/djlint/djLint/releases)
- [Changelog](https://github.com/djlint/djLint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/djlint/djLint/compare/v1.35.2...v1.36.1)

---
updated-dependencies:
- dependency-name: djlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 18:02:31 +00:00
dependabot[bot]
59b255054a
chore: bump mkdocs-material from 9.5.42 to 9.5.44
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.42 to 9.5.44.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.42...9.5.44)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 18:02:30 +00:00
David Larlet
641bff4992
chore: bump django from 5.1.2 to 5.1.3 (#2256)
Bumps [django](https://github.com/django/django) from 5.1.2 to 5.1.3.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="69bf08e3a3"><code>69bf08e</code></a>
[5.1.x] Bumped version for 5.1.3 release.</li>
<li><a
href="e3984ca5d1"><code>e3984ca</code></a>
[5.1.x] Added release date for 5.1.3.</li>
<li><a
href="4ae358122b"><code>4ae3581</code></a>
[5.1.x] Made minor edits to form fields docs.</li>
<li><a
href="9fa2d235c9"><code>9fa2d23</code></a>
[5.1.x] Fixed <a
href="https://redirect.github.com/django/django/issues/35876">#35876</a>
-- Displayed non-ASCII fieldset names when rendering Mod...</li>
<li><a
href="5045dab4f9"><code>5045dab</code></a>
[5.1.x] Added missing lang attributes to html elements in docs.</li>
<li><a
href="ffc67aac1e"><code>ffc67aa</code></a>
[5.1.x] Fixed <a
href="https://redirect.github.com/django/django/issues/35864">#35864</a>
-- Documented EmailMessage.connection is ignored when us...</li>
<li><a
href="4915feaaf7"><code>4915fea</code></a>
[5.1.x] Fixed <a
href="https://redirect.github.com/django/django/issues/35873">#35873</a>
-- Corrected Form.as_table() call in form docs.</li>
<li><a
href="b57a8395b5"><code>b57a839</code></a>
[5.1.x] Refs <a
href="https://redirect.github.com/django/django/issues/35844">#35844</a>
-- Expanded compatibility for expected error messages in ...</li>
<li><a
href="c5ddc8550c"><code>c5ddc85</code></a>
[5.1.x] Corrected note on importing fields in model field reference
docs.</li>
<li><a
href="0a1091f118"><code>0a1091f</code></a>
[5.1.x] Removed unneeded OS reference on running the test suite in
contributi...</li>
<li>Additional commits viewable in <a
href="https://github.com/django/django/compare/5.1.2...5.1.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=django&package-manager=pip&previous-version=5.1.2&new-version=5.1.3)](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>
2024-11-11 13:01:51 -05:00
David Larlet
81c494cbde
chore: bump ruff from 0.7.1 to 0.7.3 (#2253)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.1 to 0.7.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.7.3</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Formatter: Disallow single-line implicit concatenated strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13928">#13928</a>)</li>
<li>[<code>flake8-pyi</code>] Include all Python file types for
<code>PYI006</code> and <code>PYI066</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14059">#14059</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>split-of-static-string</code> (<code>SIM905</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14008">#14008</a>)</li>
<li>[<code>refurb</code>] Implement <code>subclass-builtin</code>
(<code>FURB189</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14105">#14105</a>)</li>
<li>[<code>ruff</code>] Improve diagnostic messages and docs
(<code>RUF031</code>, <code>RUF032</code>, <code>RUF034</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14068">#14068</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Detect items that hash to same value in duplicate sets
(<code>B033</code>, <code>PLC0208</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14064">#14064</a>)</li>
<li>[<code>eradicate</code>] Better detection of IntelliJ language
injection comments (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14094">#14094</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>docstring-in-stub</code> (<code>PYI021</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14150">#14150</a>)</li>
<li>[<code>flake8-pyi</code>] Update
<code>duplicate-literal-member</code> (<code>PYI062</code>) to alawys
provide an autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14188">#14188</a>)</li>
<li>[<code>pyflakes</code>] Detect items that hash to same value in
duplicate dictionaries (<code>F601</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14065">#14065</a>)</li>
<li>[<code>ruff</code>] Fix false positive for decorators
(<code>RUF028</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14061">#14061</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid parsing joint rule codes as distinct codes in <code>#
noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12809">#12809</a>)</li>
<li>[<code>eradicate</code>] ignore <code># language=</code> in
commented-out-code rule (ERA001) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14069">#14069</a>)</li>
<li>[<code>flake8-bugbear</code>] - do not run
<code>mutable-argument-default</code> on stubs (<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14058">#14058</a>)</li>
<li>[<code>flake8-builtins</code>] Skip lambda expressions in
<code>builtin-argument-shadowing (A002)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14144">#14144</a>)</li>
<li>[<code>flake8-comprehension</code>] Also remove trailing comma while
fixing <code>C409</code> and <code>C419</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14097">#14097</a>)</li>
<li>[<code>flake8-simplify</code>] Allow <code>open</code> without
context manager in <code>return</code> statement (<code>SIM115</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/14066">#14066</a>)</li>
<li>[<code>pylint</code>] Respect hash-equivalent literals in
<code>iteration-over-set</code> (<code>PLC0208</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14063">#14063</a>)</li>
<li>[<code>pylint</code>] Update known dunder methods for Python 3.13
(<code>PLW3201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14146">#14146</a>)</li>
<li>[<code>pyupgrade</code>] - ignore kwarg unpacking for
<code>UP044</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14053">#14053</a>)</li>
<li>[<code>refurb</code>] Parse more exotic decimal strings in
<code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14098">#14098</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add links to missing related options within rule documentations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13971">#13971</a>)</li>
<li>Add rule short code to mkdocs tags to allow searching via rule codes
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/14040">#14040</a>)</li>
</ul>
<h2>Install ruff 0.7.3</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.7.3/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c &quot;irm
https://github.com/astral-sh/ruff/releases/download/0.7.3/ruff-installer.ps1
| iex&quot;
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.3</h2>
<h3>Preview features</h3>
<ul>
<li>Formatter: Disallow single-line implicit concatenated strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13928">#13928</a>)</li>
<li>[<code>flake8-pyi</code>] Include all Python file types for
<code>PYI006</code> and <code>PYI066</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14059">#14059</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>split-of-static-string</code> (<code>SIM905</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14008">#14008</a>)</li>
<li>[<code>refurb</code>] Implement <code>subclass-builtin</code>
(<code>FURB189</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14105">#14105</a>)</li>
<li>[<code>ruff</code>] Improve diagnostic messages and docs
(<code>RUF031</code>, <code>RUF032</code>, <code>RUF034</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14068">#14068</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Detect items that hash to same value in duplicate sets
(<code>B033</code>, <code>PLC0208</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14064">#14064</a>)</li>
<li>[<code>eradicate</code>] Better detection of IntelliJ language
injection comments (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14094">#14094</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>docstring-in-stub</code> (<code>PYI021</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14150">#14150</a>)</li>
<li>[<code>flake8-pyi</code>] Update
<code>duplicate-literal-member</code> (<code>PYI062</code>) to alawys
provide an autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14188">#14188</a>)</li>
<li>[<code>pyflakes</code>] Detect items that hash to same value in
duplicate dictionaries (<code>F601</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14065">#14065</a>)</li>
<li>[<code>ruff</code>] Fix false positive for decorators
(<code>RUF028</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14061">#14061</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid parsing joint rule codes as distinct codes in <code>#
noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12809">#12809</a>)</li>
<li>[<code>eradicate</code>] ignore <code># language=</code> in
commented-out-code rule (ERA001) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14069">#14069</a>)</li>
<li>[<code>flake8-bugbear</code>] - do not run
<code>mutable-argument-default</code> on stubs (<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14058">#14058</a>)</li>
<li>[<code>flake8-builtins</code>] Skip lambda expressions in
<code>builtin-argument-shadowing (A002)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14144">#14144</a>)</li>
<li>[<code>flake8-comprehension</code>] Also remove trailing comma while
fixing <code>C409</code> and <code>C419</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14097">#14097</a>)</li>
<li>[<code>flake8-simplify</code>] Allow <code>open</code> without
context manager in <code>return</code> statement (<code>SIM115</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/14066">#14066</a>)</li>
<li>[<code>pylint</code>] Respect hash-equivalent literals in
<code>iteration-over-set</code> (<code>PLC0208</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14063">#14063</a>)</li>
<li>[<code>pylint</code>] Update known dunder methods for Python 3.13
(<code>PLW3201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14146">#14146</a>)</li>
<li>[<code>pyupgrade</code>] - ignore kwarg unpacking for
<code>UP044</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14053">#14053</a>)</li>
<li>[<code>refurb</code>] Parse more exotic decimal strings in
<code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14098">#14098</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add links to missing related options within rule documentations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13971">#13971</a>)</li>
<li>Add rule short code to mkdocs tags to allow searching via rule codes
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/14040">#14040</a>)</li>
</ul>
<h2>0.7.2</h2>
<h3>Preview features</h3>
<ul>
<li>Fix formatting of single with-item with trailing comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14005">#14005</a>)</li>
<li>[<code>pyupgrade</code>] Add PEP 646 <code>Unpack</code> conversion
to <code>*</code> with fix (<code>UP044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13988">#13988</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Regenerate <code>known_stdlibs.rs</code> with stdlibs 2024.10.25 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13963">#13963</a>)</li>
<li>[<code>flake8-no-pep420</code>] Skip namespace package enforcement
for PEP 723 scripts (<code>INP001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13974">#13974</a>)</li>
</ul>
<h3>Server</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fbf140a665"><code>fbf140a</code></a>
Bump version to 0.7.3 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14197">#14197</a>)</li>
<li><a
href="670f958525"><code>670f958</code></a>
[red-knot] Fix intersection simplification for
<code>~Any</code>/<code>~Unknown</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14195">#14195</a>)</li>
<li><a
href="fed35a25e8"><code>fed35a2</code></a>
[red-knot] Fix <code>is_assignable_to</code> for unions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14196">#14196</a>)</li>
<li><a
href="d1ef418bb0"><code>d1ef418</code></a>
Docs: tweak rules documentation (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14180">#14180</a>)</li>
<li><a
href="272d24bf3e"><code>272d24b</code></a>
[<code>flake8-pyi</code>] Add a fix for
<code>duplicate-literal-member</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14188">#14188</a>)</li>
<li><a
href="2624249219"><code>2624249</code></a>
[red-knot] Minor: fix <code>Literal[True] &lt;: int</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14177">#14177</a>)</li>
<li><a
href="4b08d17088"><code>4b08d17</code></a>
[red-knot] Add a new <code>Type::KnownInstanceType</code> variant (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14155">#14155</a>)</li>
<li><a
href="5b6169b02d"><code>5b6169b</code></a>
[red-knot] Minor fix in intersection type comment (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14176">#14176</a>)</li>
<li><a
href="2040e93add"><code>2040e93</code></a>
[<code>flake8-logging-format</code>] Fix invalid formatting value in
docs of `logging-ex...</li>
<li><a
href="794eb886e4"><code>794eb88</code></a>
[<code>flake8-bandit</code>] Typo in docs
<code>suspicious-pickle-import</code> (<code>S403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14175">#14175</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.7.1...0.7.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.7.1&new-version=0.7.3)](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>
2024-11-11 13:01:21 -05:00
dependabot[bot]
24c1075665
chore: bump django from 5.1.2 to 5.1.3
Bumps [django](https://github.com/django/django) from 5.1.2 to 5.1.3.
- [Commits](https://github.com/django/django/compare/5.1.2...5.1.3)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 17:20:59 +00:00
dependabot[bot]
3451ce6d47
chore: bump ruff from 0.7.1 to 0.7.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.1 to 0.7.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.1...0.7.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 17:20:41 +00:00
3 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
# Force rtfd to use a recent version of mkdocs # Force rtfd to use a recent version of mkdocs
mkdocs==1.6.1 mkdocs==1.6.1
pymdown-extensions==10.11.2 pymdown-extensions==10.11.2
mkdocs-material==9.5.42 mkdocs-material==9.5.44
mkdocs-static-i18n==1.2.3 mkdocs-static-i18n==1.2.3

View file

@ -1,5 +1,5 @@
# Force rtfd to use a recent version of mkdocs # Force rtfd to use a recent version of mkdocs
mkdocs==1.6.1 mkdocs==1.6.1
pymdown-extensions==10.11.2 pymdown-extensions==10.11.2
mkdocs-material==9.5.42 mkdocs-material==9.5.44
mkdocs-static-i18n==1.2.3 mkdocs-static-i18n==1.2.3

View file

@ -28,7 +28,7 @@ classifiers = [
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
] ]
dependencies = [ dependencies = [
"Django==5.1.2", "Django==5.1.3",
"django-agnocomplete==2.2.0", "django-agnocomplete==2.2.0",
"django-environ==0.11.2", "django-environ==0.11.2",
"django-probes==1.7.0", "django-probes==1.7.0",
@ -44,10 +44,10 @@ dependencies = [
[project.optional-dependencies] [project.optional-dependencies]
dev = [ dev = [
"hatch==1.13.0", "hatch==1.13.0",
"ruff==0.7.1", "ruff==0.7.3",
"djlint==1.35.2", "djlint==1.36.1",
"mkdocs==1.6.1", "mkdocs==1.6.1",
"mkdocs-material==9.5.42", "mkdocs-material==9.5.44",
"mkdocs-static-i18n==1.2.3", "mkdocs-static-i18n==1.2.3",
"vermin==1.6.0", "vermin==1.6.0",
"pymdown-extensions==10.11.2", "pymdown-extensions==10.11.2",