mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
[pyre] use --preserve-pythonpath to enable Pyre to read from site-packages/
This commit is contained in:
parent
b31cf0cc7e
commit
7a534cfa32
3 changed files with 1 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -6,7 +6,6 @@
|
|||
import importlib.util
|
||||
from os import path
|
||||
|
||||
# pyre-ignore Pyre doesn't know about setuptools.
|
||||
import setuptools
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# pyre-placeholder-stub
|
||||
Loading…
Add table
Add a link
Reference in a new issue