summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-10-16 10:43:11 +0200
committernicolargo <nicolas@nicolargo.com>2022-10-16 10:43:11 +0200
commita0006b4a05a6a65d06ffd2b8c2777fcd8d11668b (patch)
tree1b3e2e6892faa72371b5a6dd1785b7df570a3a0d /Makefile
parent0302cdcd57edc631bab28312c94429aada6a874d (diff)
Add Codespell to the CI pipeline #2148
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cfe95595..dc25c1b3 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,9 @@ format: venv-dev-upgrade ## Format the code
flake8: venv-dev-upgrade ## Run flake8 linter.
@git ls-files '*.py' | xargs ./venv/bin/python -m flake8 --config=.flake8
+codespell: venv-dev-upgrade ## Run codespell to fix common misspellings in text files
+ ./venv/bin/codespell -S .git,./docs/_build,./Glances.egg-info,./venv,./glances/outputs,*.svg -L hart,bu,te,statics
+
profiling: ## How to start the profiling of the Glances software
@echo "Please complete and run: sudo ./venv/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid <GLANCES PID>"