summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-07-10 18:52:23 +0200
committernicolargo <nicolas@nicolargo.com>2022-07-10 18:52:23 +0200
commit678f6da3a95964b67b80505326bac3729800b671 (patch)
tree2555017c5a198e24309299c837f5fb4844a2d0ba
parentfd9522d6ade006d6367246c41879758d44a24a70 (diff)
Disable Pyright on the Git actions pipeline
-rw-r--r--.github/workflows/test.yml7
-rw-r--r--Makefile1
2 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a3afe6fc..e8058311 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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
diff --git a/Makefile b/Makefile
index 8dd5e8a9..78fb38da 100644
--- a/Makefile
+++ b/Makefile
@@ -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