Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actively avoid panic at runtime in keyvault crate #1312

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

demoray
Copy link
Contributor

@demoray demoray commented Jun 27, 2023

This PR updates a handful of operations to not use unwrap in the operations and adds clippy configuration to deny the use of unwrap or expect (with the exception of unit tests) in the crate moving forward.

This also adds a top level clippy.toml that explicitly allows unwrap and expect when used within #[cfg(test)] blocks.

This PR updates a handful of operations to not use `unwrap` in the
operations and adds clippy configuration to deny the use of `unwrap` or
`expect` (with the exception of unit tests) in the crate moving forward.

This also adds a top level clippy.toml that explicitly allows `unwrap`
and `expect` when used within `#[cfg(test)]` blocks.
@demoray demoray merged commit f247f90 into Azure:main Jun 27, 2023
7 of 8 checks passed
@demoray demoray deleted the prevent-unwrap-expect-in-keyvault-crate branch June 27, 2023 18:14
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.

None yet

2 participants