forked from polkascan/py-substrate-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57b665a
commit 32d7d7e
Showing
49 changed files
with
4,104 additions
and
1,656 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.PHONY: $(MAKECMDGOALS) | ||
MAKEFLAGS += --no-print-directory | ||
## | ||
## 🚧 DipDup developer tools | ||
## | ||
PACKAGE=substrateinterface | ||
TAG=latest | ||
SOURCE=substrateinterface test examples | ||
|
||
|
||
help: ## Show this help (default) | ||
@grep -Fh "##" $(MAKEFILE_LIST) | grep -Fv grep -F | sed -e 's/\\$$//' | sed -e 's/##//' | ||
|
||
## | ||
##-- Dependencies | ||
## | ||
|
||
install: ## Install dependencies | ||
uv sync | ||
|
||
update: ## Update dependencies | ||
uv lock | ||
|
||
## | ||
##-- CI | ||
## | ||
|
||
all: ## Run an entire CI pipeline | ||
make format lint test | ||
|
||
format: ## Format with all tools | ||
make black | ||
|
||
lint: ## Lint with all tools | ||
make ruff mypy | ||
|
||
test: ## Run tests | ||
COVERAGE_CORE=sysmon pytest test | ||
|
||
## | ||
|
||
black: ## Format with black | ||
black ${SOURCE} | ||
|
||
ruff: ## Lint with ruff | ||
ruff check --fix --unsafe-fixes ${SOURCE} | ||
|
||
mypy: ## Lint with mypy | ||
mypy ${SOURCE} |
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
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
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
Oops, something went wrong.