Skip to content

chore: add pystub #795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy