Skip to content

Bump black formatter version#1857

Merged
mpharrigan merged 2 commits into
quantumlib:mainfrom
mpharrigan:2026-05/formatter-version
May 18, 2026
Merged

Bump black formatter version#1857
mpharrigan merged 2 commits into
quantumlib:mainfrom
mpharrigan:2026-05/formatter-version

Conversation

@mpharrigan
Copy link
Copy Markdown
Collaborator

Resolves a dependabot alert. I tested this locally and there are indeed minor formatting changes introduced with the new version. We'll let those shake out incrementally with check/format-incremental

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the black formatter version from 24.8.0 to 26.3.1 in pyproject.toml and uv.lock. It also adds target-version = ["py311"] to the black configuration and introduces pytokens as a new dependency required by the updated black version. I have no feedback to provide.

@mhucka
Copy link
Copy Markdown
Contributor

mhucka commented May 17, 2026

xref: #1830

@mpharrigan
Copy link
Copy Markdown
Collaborator Author

This subsumes #1830 as we like to keep the version of the formatter pinned to minor version even in the pyproject.toml so we don't get formatting skew

@mpharrigan mpharrigan merged commit b066fe6 into quantumlib:main May 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants