Skip to content

Do not mandate a specific dead code policy in NoReturn conformance test#2175

Open
migeed-z wants to merge 1 commit intopython:mainfrom
migeed-z:specialtypes-never-remove-dead-code-lines
Open

Do not mandate a specific dead code policy in NoReturn conformance test#2175
migeed-z wants to merge 1 commit intopython:mainfrom
migeed-z:specialtypes-never-remove-dead-code-lines

Conversation

@migeed-z
Copy link
Contributor

Summary:

Changed conformance test to prevent mandating a specific policy for dead code, since the spec does not require one.
The full discussion is here #2174.

Test plan:

I pinned the existing versions of all existing type checkers and followed the instructions otherwise, so we do not get unrelated changes in the PR.

@migeed-z migeed-z force-pushed the specialtypes-never-remove-dead-code-lines branch from 08ec3f8 to 4be5b0f Compare February 13, 2026 03:50
@migeed-z migeed-z force-pushed the specialtypes-never-remove-dead-code-lines branch from 4be5b0f to 064de64 Compare February 13, 2026 05:25
@carljm
Copy link
Member

carljm commented Feb 13, 2026

@erictraut does this change look OK to you?

@srittau srittau added the topic: conformance tests Issues with the conformance test suite label Feb 13, 2026
@python python deleted a comment from standaell1234-maker Feb 13, 2026
meta-codesync bot pushed a commit to facebook/pyrefly that referenced this pull request Feb 14, 2026
Summary: If python/typing#2175 is merged, then we don't need the previous text.

Reviewed By: grievejia

Differential Revision: D93298758

fbshipit-source-id: 19fda9df9d32643def051aa70a179f446c111fa2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: conformance tests Issues with the conformance test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants