-
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.
Merge pull request #2 from nodestream-proj/feature/0.10
Support Nodestream `0.10`
- Loading branch information
Showing
3 changed files
with
396 additions
and
350 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,40 @@ | ||
SHELL := /bin/bash | ||
|
||
.PHONY: setup | ||
setup: venv lint test-unit | ||
|
||
.PHONY: clean-pyc | ||
clean-pyc: | ||
find . -name '*.pyc' -exec rm -rf {} + | ||
find . -name '*.pyo' -exec rm -rf {} + | ||
find . -name '*~' -exec rm -rf {} + | ||
find . -name '__pycache__' -exec rm -rf {} + | ||
|
||
.PHONY: clean-test | ||
clean-test: | ||
rm -rf .pytest_cache | ||
rm -rf .mypy_cache | ||
rm -rf .coverage | ||
rm -rf .reports | ||
rm -rf htmlcov/ | ||
rm -rf .pytest_cache | ||
|
||
.PHONY: clean | ||
clean: clean-pyc clean-test | ||
|
||
venv: poetry.lock | ||
poetry install | ||
|
||
.PHONY: format | ||
format: venv | ||
poetry run black nodestream_plugin_k8s tests | ||
poetry run isort nodestream_plugin_k8s tests | ||
|
||
.PHONY: lint | ||
lint: venv | ||
poetry run black nodestream_plugin_k8s tests --check | ||
poetry run ruff nodestream_plugin_k8s tests | ||
|
||
.PHONY: test-unit | ||
test-unit: venv | ||
poetry run pytest -m "not e2e" |
Oops, something went wrong.