Skip to content

Disabled reportUnnecessaryTypeIgnoreComment in pyproject.toml - #1912

Merged
jar-stripe merged 1 commit into
masterfrom
jar/disable-report-unnecessary-type-ignore-comment
Sep 16, 2026
Merged

jar-stripe merged 1 commit into
masterfrom
jar/disable-report-unnecessary-type-ignore-comment

Conversation

@jar-stripe

Copy link
Copy Markdown
Contributor

Why?

reportUnnecessaryTypeIgnoreComment reports an error for unnecessary pyright: ignore comments. A recent change to clearly separate positional and named arguments made many of our existing type ignore comments unnecessary. This disables the report for now. Long term, we will fix this upstream in codegen.

What?

  • sets reportUnnecessaryTypeIgnoreComment = false in pyproject.toml

See Also

Configuration

  • skip-changefile: This PR is not a user-facing change, so there's no changefile.

@jar-stripe
jar-stripe requested a review from a team as a code owner September 16, 2026 22:18
@jar-stripe
jar-stripe requested review from xavdid and removed request for a team September 16, 2026 22:18
@jar-stripe
jar-stripe enabled auto-merge (squash) September 16, 2026 22:21
@jar-stripe
jar-stripe merged commit c097e20 into master Sep 16, 2026
21 checks passed
@jar-stripe
jar-stripe deleted the jar/disable-report-unnecessary-type-ignore-comment branch September 16, 2026 22:24
zacchua-stripe added a commit that referenced this pull request Sep 18, 2026
* rename changefiles that don't adhere to new naming rules

* Support `EventNotification`s with singleton related objects (#1904)

* support related singleton objects

* add missing changefile

* disabled reportUnnecessaryTypeIgnoreComment (#1912)

* Add option to suppress Stripe notices (#1909)

* Add option to suppress Stripe notices

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for notice suppression

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Clarify Stripe notice suppression instructions

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Fix event handler account scoping (#1911)

* Fix event handler account scoping

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add PR URL to changefile

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Remove deprecated StripeObject.request method

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for StripeObject.request removal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Remove changelog section metadata

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>
jar-stripe added a commit that referenced this pull request Sep 29, 2026
* rename changefiles that don't adhere to new naming rules

* Support `EventNotification`s with singleton related objects (#1904)

* support related singleton objects

* add missing changefile

* disabled reportUnnecessaryTypeIgnoreComment (#1912)

* Add option to suppress Stripe notices (#1909)

* Add option to suppress Stripe notices

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for notice suppression

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Clarify Stripe notice suppression instructions

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Fix event handler account scoping (#1911)

* Fix event handler account scoping

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add PR URL to changefile

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Remove deprecated StripeObject.request method

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for StripeObject.request removal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Remove changelog section metadata

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>
jar-stripe added a commit that referenced this pull request Sep 30, 2026
* seed the migration guide for the next major version

* Remove deprecated StripeObject.request method (#1914)

* rename changefiles that don't adhere to new naming rules

* Support `EventNotification`s with singleton related objects (#1904)

* support related singleton objects

* add missing changefile

* disabled reportUnnecessaryTypeIgnoreComment (#1912)

* Add option to suppress Stripe notices (#1909)

* Add option to suppress Stripe notices

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for notice suppression

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Clarify Stripe notice suppression instructions

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Fix event handler account scoping (#1911)

* Fix event handler account scoping

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add PR URL to changefile

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Remove deprecated StripeObject.request method

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for StripeObject.request removal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Remove changelog section metadata

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>

* DEVSDK-3212: Apply positional-only service path parameters, and update CHANGELOG with changes (#1920)

* Rename Reversal to TransferReversal (#1915)

* Rename Reversal to TransferReversal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Document TransferReversal migration

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Update migration guide

---------

Co-authored-by: codex <noreply@openai.com>
Co-authored-by: jar-stripe <jar@stripe.com>

* Make remaining overloaded method args positional only and remove unecessary suppression comments (#1924)

* Make remaining overloaded method args positional only and remove unecessary suppression comments

* DEVSDK-3290: Improve changefile and migration guide associated with enforcing positional-only leading params on overloaded methods

* Revise migration guide for SDK v16 API changes

Updated the migration guide for SDK v16 to reflect the new API version and included links to the API release process and changelog.

* Pin stripe-mock to the SDK OpenAPI version (#1927)

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: zacchua-stripe <zacchua@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>
Co-authored-by: mark-kogan-stripe <markisaackogan@stripe.com>
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
jar-stripe added a commit that referenced this pull request Sep 30, 2026
* seed the migration guide for the next major version

* Remove deprecated StripeObject.request method (#1914)

* rename changefiles that don't adhere to new naming rules

* Support `EventNotification`s with singleton related objects (#1904)

* support related singleton objects

* add missing changefile

* disabled reportUnnecessaryTypeIgnoreComment (#1912)

* Add option to suppress Stripe notices (#1909)

* Add option to suppress Stripe notices

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for notice suppression

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Clarify Stripe notice suppression instructions

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Fix event handler account scoping (#1911)

* Fix event handler account scoping

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add PR URL to changefile

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: codex <noreply@openai.com>

* Remove deprecated StripeObject.request method

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Add changelog entry for StripeObject.request removal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Remove changelog section metadata

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>

* DEVSDK-3212: Apply positional-only service path parameters, and update CHANGELOG with changes (#1920)

* Rename Reversal to TransferReversal (#1915)

* Rename Reversal to TransferReversal

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Document TransferReversal migration

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* Update migration guide

---------

Co-authored-by: codex <noreply@openai.com>
Co-authored-by: jar-stripe <jar@stripe.com>

* Make remaining overloaded method args positional only and remove unecessary suppression comments (#1924)

* Make remaining overloaded method args positional only and remove unecessary suppression comments

* DEVSDK-3290: Improve changefile and migration guide associated with enforcing positional-only leading params on overloaded methods

* Revise migration guide for SDK v16 API changes

Updated the migration guide for SDK v16 to reflect the new API version and included links to the API release process and changelog.

* Pin stripe-mock to the SDK OpenAPI version (#1927)

---------

Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: zacchua-stripe <zacchua@stripe.com>
Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: codex <noreply@openai.com>
Co-authored-by: mark-kogan-stripe <markisaackogan@stripe.com>
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
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