Skip to content

chore: use pinned black in build and check formatting in CI - #15

Merged
dnevzorov merged 1 commit into
masterfrom
chore/pin-black
Sep 29, 2026
Merged

dnevzorov merged 1 commit into
masterfrom
chore/pin-black

Conversation

@dnevzorov

Copy link
Copy Markdown
Collaborator
  • scripts/build.sh: black -> uv run black. The global black (e.g. 26.x) reformatted extra generated files, which added noise to release commits.
  • Reformat 2 test files with the pinned black. black --check . failed on master.
  • CI: add a black --check . step to test.yml, on the 3.12 matrix entry only. py3.8 resolves black 24.8, the rest 25.1. Both pass today.

Verified: pnpm build with global black 26.5.1 on PATH gives no diff in Monei/. uv run black --check . passes. 266 tests pass.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 4 billable files and costs up to $1.00.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 27 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 56 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: 432b060b-885e-45af-a8c2-e42af2d6adaf

📥 Commits

Reviewing files that changed from the base of the PR and between 005b659 and 6433812.

📒 Files selected for processing (4)
  • .github/workflows/test.yml
  • scripts/build.sh
  • test/test_subscription_trial_amount.py
  • test/test_subscription_trial_interval_count.py

Comment @coderabbitai help to get the list of available commands.

@dnevzorov
dnevzorov merged commit 59f8aa7 into master Sep 29, 2026
9 checks passed
@dnevzorov
dnevzorov deleted the chore/pin-black branch September 29, 2026 13:34
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.

1 participant