conformance/README.md
This folder contains the Python typing conformance test suite.
The src/ directory contains several types of files:
.py and .pyi filesconformance.expconformance.resultresults.jsonCommands (from this directory):
GitHub developers:
update_conformance_sources.shcargo build && python3 conformance_output.py --executable ../target/debug/pyrefly ./third_partycargo build && python3 conformance_output.py --executable ../target/debug/pyrefly --mode check ./third_partycargo build && python3 conformance_output.py --executable ../target/debug/pyrefly --mode compare ./third_party
(emits JSON to stdout)NOTE: conformance_output.py requires Python 3.9+.
Meta internal developers:
update_conformance_sources.shbuck2 run :conformance_output_script -- ./third_partybuck2 run :conformance_output_script -- --mode check ./third_party (faster),
or buck2 test :conformance_output_test (slower)buck2 run :conformance_output_script -- --mode compare ./third_party (emits
JSON to stdout)