mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 01:35:23 +03:00
Add semgrep support
This commit is contained in:
parent
476e9b5760
commit
650df696dc
3
Makefile
3
Makefile
@ -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>"
|
||||
|
||||
|
@ -8,5 +8,6 @@ autoflake
|
||||
codespell
|
||||
memory-profiler
|
||||
matplotlib
|
||||
semgrep
|
||||
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
|
Loading…
Reference in New Issue
Block a user