diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-02-04 16:08:22 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-02-04 16:08:22 +0100 |
commit | 650df696dcf7640e89fbf86989bab9c361273bfb (patch) | |
tree | 310f816b366619661c928020e48015205df9be8d /Makefile | |
parent | 476e9b5760b56c05aeda14b3ac49264ec3318588 (diff) |
Add semgrep support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,9 @@ flake8: venv-dev-upgrade ## Run flake8 linter. 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 +semgrep: venv-dev-upgrade ## Run semgrep to find bugs and enforce code standards + ./venv/bin/semgrep --config=auto --lang python --use-git-ignore ./glances + 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>" |