Skip to content

Apply Black formatting to imports - #11

Merged
dfeen87 merged 1 commit into
mainfrom
codex/fix-black-formatting-violations
Feb 9, 2026
Merged

Apply Black formatting to imports#11
dfeen87 merged 1 commit into
mainfrom
codex/fix-black-formatting-violations

Conversation

@dfeen87

@dfeen87 dfeen87 commented Feb 9, 2026

Copy link
Copy Markdown
Owner

Motivation

  • CI was failing due to Black formatting violations for multi-line imports across several package entrypoints and a simulation module, so imports must follow Black's canonical wrapping and trailing-comma conventions.
  • The change is strictly stylistic: preserve all exports, symbol order, and existing # noqa comments while removing formatting violations.

Description

  • Reformatted multi-line import statements to Black style in experiments/__init__.py, experiments/leggett_garg/__init__.py, experiments/process_tensor/__init__.py, and experiments/reset_tests/__init__.py.
  • Reformatted multi-line imports in simulations/__init__.py, simulations/markov_comparison.py, and theory/__init__.py to match Black’s expected one-item-per-line wrapping and trailing commas.
  • No functional changes, symbol renames, or export alterations were made and existing # noqa markers were preserved.
  • Commit created with message Apply Black formatting to imports containing only formatting fixes.

Testing

  • Ran black experiments/leggett_garg/__init__.py experiments/process_tensor/__init__.py experiments/reset_tests/__init__.py experiments/__init__.py simulations/__init__.py theory/__init__.py simulations/markov_comparison.py, which reformatted 7 files.
  • Verified with black --check theory/ analysis/ simulations/ experiments/ tests/ which completed with no output indicating the style check passed.

Codex Task

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@dfeen87
dfeen87 merged commit 7f09822 into main Feb 9, 2026
@dfeen87
dfeen87 deleted the codex/fix-black-formatting-violations branch February 9, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant