mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Upgrading Pyre requires updating test fixtures with any upstream changes to Pyre's query results for the `simple_class.py` fixture. This adds a new `scripts/` directory to the repo, with a script to regenerate test fixtures. The script regenerates the cache data fixture, and updates the `TypeInferenceProvider` tests to use `assertDictEqual` and helpful error messages for better behavior in future mismatches. This also includes a slight bump to Pyre 0.9.10 to fix install issues on Apple Silicon M1 Macs, and regenerated fixtures using the script above. |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| accessor_provider.py | ||
| base_provider.py | ||
| expression_context_provider.py | ||
| full_repo_manager.py | ||
| name_provider.py | ||
| parent_node_provider.py | ||
| position_provider.py | ||
| reentrant_codegen.py | ||
| scope_provider.py | ||
| span_provider.py | ||
| type_inference_provider.py | ||
| wrapper.py | ||