Skip to content

lift undocumented_unsafe_blocks to lint Cargo.toml and top of offending files#6093

Open
davidhewitt wants to merge 5 commits into
PyO3:mainfrom
davidhewitt:undocumented-unsafe
Open

lift undocumented_unsafe_blocks to lint Cargo.toml and top of offending files#6093
davidhewitt wants to merge 5 commits into
PyO3:mainfrom
davidhewitt:undocumented-unsafe

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

Part of #5487

This moves the Cargo.toml level to warn and applies per-file TODO allows which we can then pick off in individual PRs later.

The number of violations in pyo3-ffi was low, so I decided to just go ahead and fix those immediately. As a consequence I have removed 4 Default implementations for types where I think there is no sensible justification to have a default.

@davidhewitt davidhewitt enabled auto-merge June 2, 2026 10:15
@davidhewitt davidhewitt disabled auto-merge June 2, 2026 11:34
@davidhewitt davidhewitt enabled auto-merge June 2, 2026 11:35
@davidhewitt davidhewitt added this pull request to the merge queue Jun 4, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Jun 4, 2026
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