-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into run-from-file-using-har
- Loading branch information
Showing
5 changed files
with
48 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/make -f | ||
|
||
# Makefile for harambe | ||
|
||
.DEFAULT_GOAL := help | ||
|
||
help: ## Show this helpful message | ||
@for ML in $(MAKEFILE_LIST); do \ | ||
grep -E '^[a-zA-Z_-]+:.*?## .*$$' $$ML | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'; \ | ||
done | ||
.PHONY: help | ||
|
||
format: ## Format code | ||
@echo "Formatting code 🧹" | ||
@poetry run ruff format | ||
.PHONY: format | ||
|
||
format_check: ## Check code formatting | ||
@echo "Checking code 🧹" | ||
@poetry run ruff format --diff | ||
.PHONY: format_check | ||
|
||
lint: ## Lint code | ||
@poetry run ruff check --fix | ||
.PHONY: lint | ||
|
||
lint_check: ## Check code quality | ||
@poetry run ruff check | ||
.PHONY: lint_check | ||
|
||
resolve_deps: ## Install required dependencies | ||
@poetry install | ||
.PHONY: resolve_deps | ||
|
||
test: ## Run tests | ||
@poetry run pytest . -v | ||
.PHONY: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters