Skip to content

CI: black --check on PRs to main - #7

Merged
j321m merged 1 commit into
mainfrom
janek/black-ci
Oct 26, 2026
Merged

j321m merged 1 commit into
mainfrom
janek/black-ci

Conversation

@j321m

@j321m j321m commented Oct 23, 2026

Copy link
Copy Markdown
Owner
  • New workflow .github/workflows/black.yml: on every PR to main, installs black==25.1.0 (same pin as pixi.toml) and runs black --check --diff .. It uses pip rather than pixi, so it takes seconds instead of installing torch.
  • New pyproject.toml with only [tool.black] extend-exclude = "^/third_party/", so local runs skip the vendored LiveCodeBench too.

Merge after the fixes PR (janek/fixes): main still has 4 unformatted files, and that PR formats them.

After merging, make the check required: Settings → Branches → rule for main → "Require status checks to pass" → black.

@j321m
j321m requested a review from e7mul October 23, 2026 06:35
@j321m j321m closed this Oct 26, 2026
@j321m j321m reopened this Oct 26, 2026
@j321m
j321m merged commit afa7753 into main Oct 26, 2026
1 of 3 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