olmocr
olmocr copied to clipboard
Update black requirement from <24.0,>=23.0 to >=23.0,<25.0
Updates the requirements on black to permit the latest version.
Release notes
Sourced from black's releases.
24.8.0
Stable style
- Fix crash when
# fmt: off
is used before a closing parenthesis or bracket. (#4363)Packaging
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)
Parser
- Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
- Fix regression where Black failed to parse an escaped single quote inside an f-string (#4401)
- Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
- Fix bugs with Black's tokenizer not handling
\{
inside f-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (#4423)
Performance
- Improve performance when a large directory is listed in
.gitignore
(#4415)Blackd
- Fix blackd (and all extras installs) for docker container (#4357)
Changelog
Sourced from black's changelog.
24.8.0
Stable style
- Fix crash when
# fmt: off
is used before a closing parenthesis or bracket. (#4363)Packaging
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)
Parser
- Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
- Fix regression where Black failed to parse an escaped single quote inside an f-string (#4401)
- Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
- Fix bugs with Black's tokenizer not handling
\{
inside f-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (#4423)
Performance
- Improve performance when a large directory is listed in
.gitignore
(#4415)Blackd
- Fix blackd (and all extras installs) for docker container (#4357)
24.4.2
This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.
Parser
- Fix regression where certain complex f-strings failed to parse (#4332)
Performance
- Fix bad performance on certain complex string literals (#4331)
24.4.1
Highlights
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
Stable style
... (truncated)
Commits
b965c2a
Prepare release 24.8.0 (#4426)9ccf279
Documentfind_project_root
ignoringpyproject.toml
without[tool.black]
...14b6e61
fix: Enhace black efficiently to skip directories listed in .gitignore (#4415)b1c4dd9
fix: respect braces better in f-string parsing (#4422)4b4ae43
Fix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
docs: fix the installation command of extra for blackd (#4413)8827acc
Bump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
Bump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
fix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
Updateactions/checkout
to v4 to stop node deprecation warnings (#4379)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.