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

Ban std::fs trough clippy #2076

Merged
merged 1 commit into from
May 12, 2024
Merged

Ban std::fs trough clippy #2076

merged 1 commit into from
May 12, 2024

Conversation

konstin
Copy link
Member

@konstin konstin commented May 9, 2024

Maturin is already using fs_err in most places, which attaches the filename to io errors. This change enforces this through clippy and fixes the remaining std::fs usages. This is the same setup we're successfully using in uv.

Maturin is already using `fs_err` in most places, which attaches the filename to io errors. This change enforces this through clippy and fixes the remaining `std::fs` usages.
Copy link

netlify bot commented May 9, 2024

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit bbdc009
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/663c9e4ae03d100008864a34
😎 Deploy Preview https://deploy-preview-2076--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@konstin konstin enabled auto-merge May 9, 2024 10:09
@konstin konstin added this pull request to the merge queue May 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 9, 2024
@konstin konstin added this pull request to the merge queue May 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 9, 2024
@messense messense added this pull request to the merge queue May 10, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 10, 2024
@messense messense merged commit fefbf52 into main May 12, 2024
28 of 29 checks passed
@messense messense deleted the konsti/ban-std-fs branch May 12, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants