Skip to content

Commit

Permalink
Update Root (Python) (#107)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [black](https://togithub.com/psf/black)
([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) |
`23.9.1` -> `23.12.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/black/23.9.1/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/23.9.1/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log)
([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) |
`23.9.16` -> `23.12.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-bugbear/23.9.16/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-bugbear/23.9.16/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [isort](https://pycqa.github.io/isort/)
([source](https://togithub.com/pycqa/isort),
[changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) |
`5.12.0` -> `5.13.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/isort/5.12.0/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/isort/5.12.0/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>psf/black (black)</summary>

###
[`v23.12.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23121)

[Compare
Source](https://togithub.com/psf/black/compare/23.12.0...23.12.1)

##### Packaging

- Fixed a bug that included dependencies from the `d` extra by default
([#&#8203;4108](https://togithub.com/psf/black/issues/4108))

###
[`v23.12.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23120)

[Compare
Source](https://togithub.com/psf/black/compare/23.11.0...23.12.0)

##### Highlights

It's almost 2024, which means it's time for a new edition of *Black*'s
stable style!
Together with this release, we'll put out an alpha release 24.1a1
showcasing the draft
2024 stable style, which we'll finalize in the January release. Please
try it out and
[share your feedback](https://togithub.com/psf/black/issues/4042).

This release (23.12.0) will still produce the 2023 style. Most but not
all of the
changes in `--preview` mode will be in the 2024 stable style.

##### Stable style

- Fix bug where `# fmt: off` automatically dedents when used with the
`--line-ranges`
option, even when it is not within the specified line range.
([#&#8203;4084](https://togithub.com/psf/black/issues/4084))
- Fix feature detection for parenthesized context managers
([#&#8203;4104](https://togithub.com/psf/black/issues/4104))

##### Preview style

- Prefer more equal signs before a break when splitting chained
assignments ([#&#8203;4010](https://togithub.com/psf/black/issues/4010))
- Standalone form feed characters at the module level are no longer
removed ([#&#8203;4021](https://togithub.com/psf/black/issues/4021))
- Additional cases of immediately nested tuples, lists, and dictionaries
are now
indented less
([#&#8203;4012](https://togithub.com/psf/black/issues/4012))
- Allow empty lines at the beginning of all blocks, except immediately
before a
docstring ([#&#8203;4060](https://togithub.com/psf/black/issues/4060))
- Fix crash in preview mode when using a short `--line-length`
([#&#8203;4086](https://togithub.com/psf/black/issues/4086))
- Keep suites consisting of only an ellipsis on their own lines if they
are not
functions or class definitions
([#&#8203;4066](https://togithub.com/psf/black/issues/4066))
([#&#8203;4103](https://togithub.com/psf/black/issues/4103))

##### Configuration

- `--line-ranges` now skips *Black*'s internal stability check in
`--safe` mode. This
avoids a crash on rare inputs that have many unformatted same-content
lines. ([#&#8203;4034](https://togithub.com/psf/black/issues/4034))

##### Packaging

- Upgrade to mypy 1.7.1
([#&#8203;4049](https://togithub.com/psf/black/issues/4049))
([#&#8203;4069](https://togithub.com/psf/black/issues/4069))
- Faster compiled wheels are now available for CPython 3.12
([#&#8203;4070](https://togithub.com/psf/black/issues/4070))

##### Integrations

- Enable 3.12 CI
([#&#8203;4035](https://togithub.com/psf/black/issues/4035))
- Build docker images in parallel
([#&#8203;4054](https://togithub.com/psf/black/issues/4054))
- Build docker images with 3.12
([#&#8203;4055](https://togithub.com/psf/black/issues/4055))

###
[`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110)

[Compare
Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0)

##### Highlights

- Support formatting ranges of lines with the new `--line-ranges`
command-line option
    ([#&#8203;4020](https://togithub.com/psf/black/issues/4020))

##### Stable style

- Fix crash on formatting bytes strings that look like docstrings
([#&#8203;4003](https://togithub.com/psf/black/issues/4003))
- Fix crash when whitespace followed a backslash before newline in a
docstring ([#&#8203;4008](https://togithub.com/psf/black/issues/4008))
- Fix standalone comments inside complex blocks crashing Black
([#&#8203;4016](https://togithub.com/psf/black/issues/4016))
- Fix crash on formatting code like `await (a ** b)`
([#&#8203;3994](https://togithub.com/psf/black/issues/3994))
- No longer treat leading f-strings as docstrings. This matches Python's
behaviour and
fixes a crash
([#&#8203;4019](https://togithub.com/psf/black/issues/4019))

##### Preview style

- Multiline dicts and lists that are the sole argument to a function are
now indented
    less ([#&#8203;3964](https://togithub.com/psf/black/issues/3964))
- Multiline unpacked dicts and lists as the sole argument to a function
are now also
indented less
([#&#8203;3992](https://togithub.com/psf/black/issues/3992))
- In f-string debug expressions, quote types that are visible in the
final string are
now preserved
([#&#8203;4005](https://togithub.com/psf/black/issues/4005))
- Fix a bug where long `case` blocks were not split into multiple lines.
Also enable
general trailing comma rules on `case` blocks
([#&#8203;4024](https://togithub.com/psf/black/issues/4024))
- Keep requiring two empty lines between module-level docstring and
first function or
class definition
([#&#8203;4028](https://togithub.com/psf/black/issues/4028))
- Add support for single-line format skip with other comments on the
same line ([#&#8203;3959](https://togithub.com/psf/black/issues/3959))

##### Configuration

- Consistently apply force exclusion logic before resolving symlinks
([#&#8203;4015](https://togithub.com/psf/black/issues/4015))
- Fix a bug in the matching of absolute path names in `--include`
([#&#8203;3976](https://togithub.com/psf/black/issues/3976))

##### Performance

- Fix mypyc builds on arm64 on macOS
([#&#8203;4017](https://togithub.com/psf/black/issues/4017))

##### Integrations

- Black's pre-commit integration will now run only on git hooks
appropriate for a code
formatter ([#&#8203;3940](https://togithub.com/psf/black/issues/3940))

###
[`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101)

[Compare
Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1)

##### Highlights

- Maintenance release to get a fix out for GitHub Action edge case
([#&#8203;3957](https://togithub.com/psf/black/issues/3957))

##### Preview style

- Fix merging implicit multiline strings that have inline comments
([#&#8203;3956](https://togithub.com/psf/black/issues/3956))
- Allow empty first line after block open before a comment or compound
statement ([#&#8203;3967](https://togithub.com/psf/black/issues/3967))

##### Packaging

- Change Dockerfile to hatch + compile black
([#&#8203;3965](https://togithub.com/psf/black/issues/3965))

##### Integrations

- The summary output for GitHub workflows is now suppressible using the
`summary`
parameter. ([#&#8203;3958](https://togithub.com/psf/black/issues/3958))
- Fix the action failing when Black check doesn't pass
([#&#8203;3957](https://togithub.com/psf/black/issues/3957))

##### Documentation

-   It is known Windows documentation CI is broken

[psf/black#3968

###
[`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100)

[Compare
Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0)

##### Stable style

- Fix comments getting removed from inside parenthesized strings
([#&#8203;3909](https://togithub.com/psf/black/issues/3909))

##### Preview style

- Fix long lines with power operators getting split before the line
length ([#&#8203;3942](https://togithub.com/psf/black/issues/3942))
- Long type hints are now wrapped in parentheses and properly indented
when split across
multiple lines
([#&#8203;3899](https://togithub.com/psf/black/issues/3899))
- Magic trailing commas are now respected in return types.
([#&#8203;3916](https://togithub.com/psf/black/issues/3916))
- Require one empty line after module-level docstrings.
([#&#8203;3932](https://togithub.com/psf/black/issues/3932))
- Treat raw triple-quoted strings as docstrings
([#&#8203;3947](https://togithub.com/psf/black/issues/3947))

##### Configuration

- Fix cache versioning logic when `BLACK_CACHE_DIR` is set
([#&#8203;3937](https://togithub.com/psf/black/issues/3937))

##### Parser

- Fix bug where attributes named `type` were not acccepted inside
`match` statements
    ([#&#8203;3950](https://togithub.com/psf/black/issues/3950))
- Add support for PEP 695 type aliases containing lambdas and other
unusual expressions
    ([#&#8203;3949](https://togithub.com/psf/black/issues/3949))

##### Output

- Black no longer attempts to provide special errors for attempting to
format Python 2
    code ([#&#8203;3933](https://togithub.com/psf/black/issues/3933))
- Black will more consistently print stacktraces on internal errors in
verbose mode
    ([#&#8203;3938](https://togithub.com/psf/black/issues/3938))

##### Integrations

- The action output displayed in the job summary is now wrapped in
Markdown ([#&#8203;3914](https://togithub.com/psf/black/issues/3914))

</details>

<details>
<summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary>

###
[`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2)

[Compare
Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2)

- B018: to detect useless-statements at all levels
([#&#8203;434](https://togithub.com/PyCQA/flake8-bugbear/issues/434))
- B018: Add classname to b018 useless-expression output
([#&#8203;433](https://togithub.com/PyCQA/flake8-bugbear/issues/433))
- B018: Include tuples in b018 useless-statement check
([#&#8203;432](https://togithub.com/PyCQA/flake8-bugbear/issues/432))

###
[`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28)

[Compare
Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28)

- B035: Fix false positive when named expressions are used
([#&#8203;430](https://togithub.com/PyCQA/flake8-bugbear/issues/430))

###
[`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26)

[Compare
Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26)

- B035: add check for static keys in dict-comprehension
([#&#8203;426](https://togithub.com/PyCQA/flake8-bugbear/issues/426))
- B902: Add exceptions for standard library metaclasses
([#&#8203;415](https://togithub.com/PyCQA/flake8-bugbear/issues/415))
- B017: Modify to no longer have a false negative when raises() is
imported
directly from pytest
([#&#8203;424](https://togithub.com/PyCQA/flake8-bugbear/issues/424))
- B026: Fix bug where the check was not triggered for calls where the
caller
is an attribute
([#&#8203;420](https://togithub.com/PyCQA/flake8-bugbear/issues/420))

</details>

<details>
<summary>pycqa/isort (isort)</summary>

###
[`v5.13.2`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023)

[Compare
Source](https://togithub.com/pycqa/isort/compare/5.13.1...5.13.2)

- Apply the bracket fix from issue
[#&#8203;471](https://togithub.com/pycqa/isort/issues/471) only for
use_parentheses=True
([#&#8203;2184](https://togithub.com/pycqa/isort/issues/2184))
[@&#8203;bp72](https://togithub.com/bp72)
- Confine pre-commit to stages
([#&#8203;2213](https://togithub.com/pycqa/isort/issues/2213))
[@&#8203;davidculley](https://togithub.com/davidculley)
- Fixed colors extras
([#&#8203;2212](https://togithub.com/pycqa/isort/issues/2212))
[@&#8203;staticdev](https://togithub.com/staticdev)

###
[`v5.13.1`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023)

[Compare
Source](https://togithub.com/pycqa/isort/compare/5.13.0...5.13.1)

- Fixed integration tests
([#&#8203;2208](https://togithub.com/pycqa/isort/issues/2208))
[@&#8203;bp72](https://togithub.com/bp72)
- Fixed normalizing imports from more than one level of parent modules
(issue/2152)
([#&#8203;2191](https://togithub.com/pycqa/isort/issues/2191))
[@&#8203;bp72](https://togithub.com/bp72)
- Remove optional dependencies without extras
([#&#8203;2207](https://togithub.com/pycqa/isort/issues/2207))
[@&#8203;staticdev](https://togithub.com/staticdev)

###
[`v5.13.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023)

[Compare
Source](https://togithub.com/pycqa/isort/compare/5.12.0...5.13.0)

- Cleanup deprecated extras
([#&#8203;2089](https://togithub.com/pycqa/isort/issues/2089))
[@&#8203;staticdev](https://togithub.com/staticdev)
- Fixed [#&#8203;1989](https://togithub.com/pycqa/isort/issues/1989):
settings lookup when working in stream based mode
- Fixed 80 line length for wemake linter
([#&#8203;2183](https://togithub.com/pycqa/isort/issues/2183))
[@&#8203;skatromb](https://togithub.com/skatromb)
- Add support for Python 3.12
([#&#8203;2175](https://togithub.com/pycqa/isort/issues/2175))
[@&#8203;hugovk](https://togithub.com/hugovk)
- Fixed: add newest version to pre-commit docs
([#&#8203;2190](https://togithub.com/pycqa/isort/issues/2190))
[@&#8203;AzulGarza](https://togithub.com/AzulGarza)
- Fixed assertions in test_git_hook
([#&#8203;2196](https://togithub.com/pycqa/isort/issues/2196))
[@&#8203;mgorny](https://togithub.com/mgorny)
- Removed check for include_trailing_comma for the Hanging Indent wrap
mode ([#&#8203;2192](https://togithub.com/pycqa/isort/issues/2192))
[@&#8203;bp72](https://togithub.com/bp72)
- Use the standard library tomllib on sufficiently new python
([#&#8203;2202](https://togithub.com/pycqa/isort/issues/2202))
[@&#8203;eli-schwartz](https://togithub.com/eli-schwartz)
- Update pre-commit.md version number
([#&#8203;2197](https://togithub.com/pycqa/isort/issues/2197))
[@&#8203;nicobako](https://togithub.com/nicobako)
- doc: Update black_compatibility.md
([#&#8203;2177](https://togithub.com/pycqa/isort/issues/2177))
[@&#8203;JSS95](https://togithub.com/JSS95)
- Fixed safety sept 2023
([#&#8203;2178](https://togithub.com/pycqa/isort/issues/2178))
[@&#8203;staticdev](https://togithub.com/staticdev)
- docs: fix black profile documentation
([#&#8203;2163](https://togithub.com/pycqa/isort/issues/2163))
[@&#8203;nijel](https://togithub.com/nijel)
- Fixed typo: indended -> indented
([#&#8203;2161](https://togithub.com/pycqa/isort/issues/2161))
[@&#8203;vadimkerr](https://togithub.com/vadimkerr)
- Docs(configuration/options.md): fix missing trailing spaces for hard
linebreak ([#&#8203;2157](https://togithub.com/pycqa/isort/issues/2157))
[@&#8203;JoeyTeng](https://togithub.com/JoeyTeng)
- Update pre-commit.md
([#&#8203;2148](https://togithub.com/pycqa/isort/issues/2148))
[@&#8203;godiard](https://togithub.com/godiard)
- chore: move configurations to pyproject.toml
([#&#8203;2115](https://togithub.com/pycqa/isort/issues/2115))
[@&#8203;SauravMaheshkar](https://togithub.com/SauravMaheshkar)
- Fixed typo in README
([#&#8203;2112](https://togithub.com/pycqa/isort/issues/2112))
[@&#8203;stefmolin](https://togithub.com/stefmolin)
- Update version in pre-commit setup to avoid installation issue with
poetry ([#&#8203;2103](https://togithub.com/pycqa/isort/issues/2103))
[@&#8203;stefmolin](https://togithub.com/stefmolin)
- Skip .pytype directory by default.
([#&#8203;2098](https://togithub.com/pycqa/isort/issues/2098))
[@&#8203;manueljacob](https://togithub.com/manueljacob)
- Fixed a tip block styling in the Config Files section
([#&#8203;2097](https://togithub.com/pycqa/isort/issues/2097))
[@&#8203;Klavionik](https://togithub.com/Klavionik)
- Do not cache configuration files
([#&#8203;1995](https://togithub.com/pycqa/isort/issues/1995))
[@&#8203;kaste](https://togithub.com/kaste)
- Derive settings_path from --filename
([#&#8203;1992](https://togithub.com/pycqa/isort/issues/1992))
[@&#8203;kaste](https://togithub.com/kaste)
- Fixed year of version 5.12.0 in CHANGELOG.md
([#&#8203;2082](https://togithub.com/pycqa/isort/issues/2082))
[@&#8203;DjLegolas](https://togithub.com/DjLegolas)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/sawyerh/highlights).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jan 28, 2024
1 parent 24c8241 commit 867df21
Showing 1 changed file with 31 additions and 34 deletions.
65 changes: 31 additions & 34 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 867df21

@vercel
Copy link

@vercel vercel bot commented on 867df21 Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.