[pyre] use --preserve-pythonpath to enable Pyre to read from site-packages/

This commit is contained in:
Jimmy Lai 2020-03-06 21:36:26 +00:00 committed by jimmylai
parent b31cf0cc7e
commit 7a534cfa32
3 changed files with 1 additions and 3 deletions

View file

@ -71,7 +71,7 @@ jobs:
source /tmp/libcst-env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
pyre check
pyre --preserve-pythonpath check
PYTHONPATH=`pwd` python libcst/tests/test_pyre_integration.py
git diff --exit-code # verify no generated changes
- save_cache:

View file

@ -6,7 +6,6 @@
import importlib.util
from os import path
# pyre-ignore Pyre doesn't know about setuptools.
import setuptools

View file

@ -1 +0,0 @@
# pyre-placeholder-stub