Skip to content

Implement disable ignores, a flag which disables all type ignores#19939

Open
wyattscarpenter wants to merge 2 commits intopython:masterfrom
wyattscarpenter:disable_ignores
Open

Implement disable ignores, a flag which disables all type ignores#19939
wyattscarpenter wants to merge 2 commits intopython:masterfrom
wyattscarpenter:disable_ignores

Conversation

@wyattscarpenter
Copy link
Copy Markdown
Contributor

This is available as a command-line flag and a global configuration option. This commit also includes documentation and tests for this feature. Fixes #13201

This is available as a command-line flag and a global configuration option. This commit also includes documentation and tests for this feature. Fixes python#13201
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@wyattscarpenter
Copy link
Copy Markdown
Contributor Author

wyattscarpenter commented Apr 4, 2026

Why did my two tests fail, but only for the two "Parallel tests with py314-ubuntu" checks? (Not even including parallel tests with windows.) Random luck relating to some known flakiness (that I haven't heard of)? Do I not understand something? Should this be listed in OPTIONS_AFFECTING_CACHE or something?

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.

Add a way to ignore type: ignore, disabled error codes

1 participant