-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use datamodel-codegen from venv, revert makefile removal, installer f…
…ixes (#896)
- Loading branch information
1 parent
5b2da83
commit a39c817
Showing
153 changed files
with
1,477 additions
and
1,098 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
!**/Dockerfile | ||
!**/Makefile | ||
!**/pyproject.toml | ||
!**/pdm.lock | ||
!**/*.lock | ||
!**/README.md | ||
!**/.keep | ||
|
||
|
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,46 @@ | ||
.ONESHELL: | ||
.PHONY: $(MAKECMDGOALS) | ||
MAKEFLAGS += --no-print-directory | ||
## | ||
## 🚧 DipDup developer tools | ||
## | ||
PACKAGE=demo_auction | ||
TAG=latest | ||
COMPOSE=deploy/compose.yaml | ||
|
||
help: ## Show this help (default) | ||
@grep -Fh "##" $(MAKEFILE_LIST) | grep -Fv grep -F | sed -e 's/\\$$//' | sed -e 's/##//' | ||
|
||
all: ## Run an entire CI pipeline | ||
make format lint | ||
|
||
format: ## Format with all tools | ||
make black | ||
|
||
lint: ## Lint with all tools | ||
make ruff mypy | ||
|
||
## | ||
|
||
black: ## Format with black | ||
black . | ||
|
||
ruff: ## Lint with ruff | ||
ruff check --fix . | ||
|
||
mypy: ## Lint with mypy | ||
mypy --no-incremental --exclude ${PACKAGE} . | ||
|
||
## | ||
|
||
image: ## Build Docker image | ||
docker buildx build . -t ${PACKAGE}:${TAG} | ||
|
||
up: ## Run Compose stack | ||
docker-compose -f ${COMPOSE} up -d --build | ||
docker-compose -f ${COMPOSE} logs -f | ||
|
||
down: ## Stop Compose stack | ||
docker-compose -f ${COMPOSE} down | ||
|
||
## |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from enum import IntEnum | ||
|
||
|
||
from dipdup import fields | ||
from dipdup.models import Model | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
!**/Dockerfile | ||
!**/Makefile | ||
!**/pyproject.toml | ||
!**/pdm.lock | ||
!**/*.lock | ||
!**/README.md | ||
!**/.keep | ||
|
||
|
Oops, something went wrong.