Disable Pyright on the Git actions pipeline

This commit is contained in:
nicolargo 2022-07-10 18:52:23 +02:00
parent fd9522d6ad
commit 678f6da3a9
2 changed files with 5 additions and 3 deletions

View File

@ -41,10 +41,11 @@ jobs:
then
echo "Skipping static type check for Python 2.7";
else
pip install pyright
pyright glances
echo "Skipping static type check for the moment, too much error...";
# pip install pyright
# pyright glances
fi
- name: Unitary tests
run: |
python ./unitest.py

View File

@ -37,6 +37,7 @@ test: venv ## Run unit tests
./venv/bin/python ./unitest-restful.py
./venv/bin/python ./unitest-xmlrpc.py
./venv/bin/python -m black ./glances --check --exclude outputs/static
./venv/bin/pyright glances
format: venv ## Format the code
./venv/bin/python -m black ./glances --exclude outputs/static