Skip to content

Feature/orders cho pro#123

Merged
luismeli10 (luismeli10) merged 8 commits into
masterfrom
feature/orders-cho-pro
Jun 30, 2026
Merged

Feature/orders cho pro#123
luismeli10 (luismeli10) merged 8 commits into
masterfrom
feature/orders-cho-pro

Conversation

@luismeli10

Copy link
Copy Markdown
Contributor

No description provided.

luismeli10 (luismeli10) and others added 8 commits June 23, 2026 20:47
Promote the Orders Checkout Pro feature from beta to stable by bumping
the version from 3.3.0-beta.1 to 3.3.0 and updating the release date
in the changelog from 2026-06-23 to 2026-06-30.

Fix two pylint violations in FakeHttpClient (test_order_checkout_pro):
- R0913/R0917: too many (positional) arguments on post() and get() —
  collapsed optional params into **kwargs so the signature stays under
  the 5-argument limit while preserving all recorded call fields.

Fix integration test regression in test_plan:
- The update call was sending the full API response object back, which
  included read-only fields (id, date_created, summarized, etc.) that
  the API rejects with 400 "Parameters passed are invalid". Replace it
  with an explicit update_payload containing only the writable fields
  (reason, auto_recurring, back_url).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
Raise max-args and max-positional-arguments to 7 in setup.cfg so the
pylint DESIGN rules match the actual method signatures in HttpClient
and its test doubles, instead of suppressing warnings per-line.

Restore explicit signatures on FakeHttpClient.post() and .get() in
test_order_checkout_pro — the previous **kwargs workaround silenced
R0913/R0917 but introduced W0221 (arguments-differ) because the
override no longer matched the base class contract.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
Add max-args = 7 and max-positional-arguments = 7 to tests/.pylintrc
so the limits are consistent with setup.cfg. The tests/.pylintrc takes
precedence over the root config when pylint runs against the tests
directory, so the DESIGN section was missing and R0913/R0917 were
still triggered on FakeHttpClient methods.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@luismeli10 luismeli10 (luismeli10) merged commit 148da6e into master Jun 30, 2026
3 checks passed
@luismeli10 luismeli10 (luismeli10) deleted the feature/orders-cho-pro branch June 30, 2026 22:49
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