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

[red-knot] Require that FileSystem objects implement Debug #12204

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

AlexWaygood
Copy link
Member

Summary

This makes it easier to debug why things are going wrong if you have an object of type &dyn FileSystem and you want to add some debug prints to check if the objects you think are in the test filesystem are actually in the test filesystem.

Test Plan

cargo build

@AlexWaygood AlexWaygood added the red-knot Multi-file analysis & type inference label Jul 5, 2024
@AlexWaygood AlexWaygood merged commit 0f6f73e into main Jul 5, 2024
19 checks passed
@AlexWaygood AlexWaygood deleted the filesystem-debug branch July 5, 2024 11:53
Copy link
Contributor

github-actions bot commented Jul 5, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants