Skip to content

Fix format workflow failure by aligning adicts/functions.py with Black output - #3

Draft
willayy with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-format-job-failure-again
Draft

Fix format workflow failure by aligning adicts/functions.py with Black output#3
willayy with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-format-job-failure-again

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The format job failed because black --check --target-version=py314 adicts/ detected a formatting drift in adicts/functions.py. This PR applies the exact Black-compatible formatting change so CI formatting checks can pass.

  • Root cause

    • adicts/functions.py had a function signature layout that no longer matched current Black formatting rules used in CI.
  • Change applied

    • Reformatted the d_multiply function definition in adicts/functions.py to Black’s expected multiline signature style.
    • No behavioral or API changes; formatting-only update.
  • Representative diff

    -def d_multiply(d: Mapping[A, Numeric], dmul: Mapping[A, Numeric]) -> Mapping[A, Numeric]:
    +def d_multiply(
    +    d: Mapping[A, Numeric], dmul: Mapping[A, Numeric]
    +) -> Mapping[A, Numeric]:

Copilot AI changed the title [WIP] Fix failing GitHub Actions job format Fix format workflow failure by aligning adicts/functions.py with Black output Jun 22, 2026
Copilot AI requested a review from willayy June 22, 2026 12:06
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