mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 17:51:49 +03:00
Disable Pyright on the Git actions pipeline
This commit is contained in:
parent
fd9522d6ad
commit
678f6da3a9
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -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
|
||||
|
1
Makefile
1
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
|
||||
|
Loading…
Reference in New Issue
Block a user