Skip to content

Commit 06bafad

Browse files
committed
chore: add pystub
1 parent 6760ac2 commit 06bafad

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- name: Install Dependencies
3333
run: |
3434
pip install virtualenv --upgrade
35+
make pystub
3536
make install test-install
3637
make prettier
3738

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ clean:
5656
nopyc:
5757
find . -name \*.pyc -delete
5858

59+
pystub:
60+
. venv/bin/activate; pyright --createstub .
61+
5962
prettier:
6063
. venv/bin/activate; autoflake --remove-all-unused-imports -i -r --exclude venv .
6164
. venv/bin/activate; black .

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ PyJWT>=2.0.0, <3.0.0
44
aiohttp>=3.9.4
55
aiohttp-retry>=2.8.3
66
certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability
7+
pyright>=1.1.364

0 commit comments

Comments
 (0)