mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
## Summary Currently we don't think that namespace packages (e.g. `google` after you've pip-installed `google-cloud-ndb`) have attributes such as `__file__`, `__name__`, etc. This PR fixes that. ## Test Plan Mdtests and snapshots.
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/ty_test/README.md for documentation of this test format.