mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
Disable Pyright on the Git actions pipeline
This commit is contained in:
parent
fd9522d6ad
commit
678f6da3a9
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -41,8 +41,9 @@ 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
|
||||
|
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