mirror of
https://github.com/Doctorado-ML/STree.git
synced 2025-08-15 15:36:00 +00:00
Add audit and devdeps to Makefile
This commit is contained in:
6
Makefile
6
Makefile
@@ -10,6 +10,9 @@ coverage: ## Run tests with coverage
|
|||||||
deps: ## Install dependencies
|
deps: ## Install dependencies
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
devdeps: ## Install development dependencies
|
||||||
|
pip install black pip-audit flake8 mypy coverage
|
||||||
|
|
||||||
lint: ## Lint and static-check
|
lint: ## Lint and static-check
|
||||||
black stree
|
black stree
|
||||||
flake8 stree
|
flake8 stree
|
||||||
@@ -32,6 +35,9 @@ build: ## Build package
|
|||||||
doc-clean: ## Update documentation
|
doc-clean: ## Update documentation
|
||||||
make -C docs --makefile=Makefile clean
|
make -C docs --makefile=Makefile clean
|
||||||
|
|
||||||
|
audit: ## Audit pip
|
||||||
|
pip-audit
|
||||||
|
|
||||||
help: ## Show help message
|
help: ## Show help message
|
||||||
@IFS=$$'\n' ; \
|
@IFS=$$'\n' ; \
|
||||||
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/:/'`); \
|
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/:/'`); \
|
||||||
|
Reference in New Issue
Block a user