Skip to content

Commit

Permalink
Bump black from 24.1.0 to 24.1.1 (#1628)
Browse files Browse the repository at this point in the history
Bumps [black](https://github.com/psf/black) from 24.1.0 to 24.1.1.
<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>24.1.1</h2>
<p>Bugfix release to fix a bug that made Black unusable on certain file
systems
with strict limits on path length.</p>
<h3>Preview style</h3>
<ul>
<li>Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
</ul>
</blockquote>
</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>24.1.1</h2>
<p>Bugfix release to fix a bug that made Black unusable on certain file
systems with strict
limits on path length.</p>
<h3>Preview style</h3>
<ul>
<li>Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psf/black/commit/e026c93888f91a47a9c9f4e029f3eb07d96375e6"><code>e026c93</code></a>
Prepare release 24.1.1 (<a
href="https://redirect.github.com/psf/black/issues/4186">#4186</a>)</li>
<li><a
href="https://github.com/psf/black/commit/79fc1158a98281dac798feb14b8fddb4051e4a42"><code>79fc115</code></a>
chore: ignore node_modules (produced by a pre-commit check) (<a
href="https://redirect.github.com/psf/black/issues/4184">#4184</a>)</li>
<li><a
href="https://github.com/psf/black/commit/8bf04549ffd276a1bad6eb110e66e6557ee630d9"><code>8bf0454</code></a>
Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
<li><a
href="https://github.com/psf/black/commit/1607e9ab20ad550cf940482d0d361ca31fc03189"><code>1607e9a</code></a>
Fix missing space in option description (<a
href="https://redirect.github.com/psf/black/issues/4182">#4182</a>)</li>
<li><a
href="https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9"><code>ed770ba</code></a>
Fix cache file length (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
<li><a
href="https://github.com/psf/black/commit/659c29a41c7c686687aef21f57b95bcfa236b03b"><code>659c29a</code></a>
New changelog</li>
<li>See full diff in <a
href="https://github.com/psf/black/compare/24.1.0...24.1.1">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=24.1.0&new-version=24.1.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>
  • Loading branch information
Zeitsperre authored Jan 29, 2024
2 parents 5cdc422 + 65ebdcd commit 8db48d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
- id: yamllint
args: [ '--config-file=.yamllint.yaml' ]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.1.0
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
Expand Down Expand Up @@ -61,7 +61,7 @@ repos:
- id: nbqa-pyupgrade
args: [ '--py38-plus' ]
- id: nbqa-black
additional_dependencies: [ 'black==24.1.0' ]
additional_dependencies: [ 'black==24.1.1' ]
- id: nbqa-isort
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
Expand All @@ -73,7 +73,7 @@ repos:
rev: v0.3.9
hooks:
- id: blackdoc
additional_dependencies: [ 'black==24.1.0' ]
additional_dependencies: [ 'black==24.1.1' ]
exclude: '(xclim/indices/__init__.py|docs/installation.rst)'
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.1
Expand Down
7 changes: 3 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ dependencies:
# Extras
- flox
# Testing and development dependencies
- black ==24.1.0
- black ==24.1.1
- blackdoc ==0.3.9
# - bump-my-version # The conda package is not as up-to-date as the PyPI package.
- bump-my-version >=0.17.1
- cairosvg
- codespell
- coverage
Expand All @@ -57,7 +57,7 @@ dependencies:
- pre-commit
- pybtex
- pylint
- pytest
- pytest <8.0 # Pinned due to breakage with xdoctest. See: https://github.com/Erotemic/xdoctest/issues/151
- pytest-cov
- pytest-socket
- pytest-xdist >=3.2
Expand All @@ -76,6 +76,5 @@ dependencies:
- yamllint
- pip
- pip:
- bump-my-version >=0.17.1 # The conda package is not as up-to-date as the PyPI package.
- flake8-alphabetize
- sphinxcontrib-svg2pdfconverter
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
# Dev tools and testing
"black ==24.1.0",
"black ==24.1.1",
"blackdoc ==0.3.9",
"bump-my-version >=0.17.1",
"codespell",
Expand All @@ -78,7 +78,7 @@ dev = [
"pre-commit >=2.9",
"pybtex",
"pylint",
"pytest",
"pytest <8.0", # Pinned due to breakage with xdoctest. See: https://github.com/Erotemic/xdoctest/issues/151
"pytest-cov",
"pytest-socket",
"pytest-xdist[psutil] >=3.2",
Expand Down

0 comments on commit 8db48d8

Please sign in to comment.