Skip to content
2 changes: 2 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: Install Dependencies
run: |
pip install virtualenv --upgrade
make pystub
make install test-install
make prettier
tree

- name: Run the tests
run: make test-with-coverage
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ clean:
nopyc:
find . -name \*.pyc -delete

pystub:
pip install pyright; export PWD=pwd; pyright --createstub "${PWD}/twilio/rest"

prettier:
. venv/bin/activate; autoflake --remove-all-unused-imports -i -r --exclude venv .
. venv/bin/activate; black .
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ PyJWT>=2.0.0, <3.0.0
aiohttp>=3.9.4
aiohttp-retry>=2.8.3
certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability
pyright>=1.1.364
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ multidict
pyngrok
black
autoflake
pyright