feat: initial p2pkg tool with CI, ruff, and stable tagging
Some checks failed
CI (tests + ruff) and stable tag / unittest (py3.10) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.11) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.13) (push) Has been cancelled
CI (tests + ruff) and stable tag / ruff (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / Tag stable (if version commit) (push) Has been cancelled
Some checks failed
CI (tests + ruff) and stable tag / unittest (py3.10) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.11) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.13) (push) Has been cancelled
CI (tests + ruff) and stable tag / ruff (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / Tag stable (if version commit) (push) Has been cancelled
https://chatgpt.com/share/69468609-0584-800f-a3e0-9d58210fb0e8
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
SHELL := /usr/bin/env bash
|
||||
|
||||
PYTHON ?= python3
|
||||
PIP ?= $(PYTHON) -m pip
|
||||
|
||||
.PHONY: venv install test clean
|
||||
|
||||
venv:
|
||||
$(PYTHON) -m venv .venv
|
||||
@echo "Activate with: . .venv/bin/activate"
|
||||
|
||||
install:
|
||||
$(PIP) install -e .
|
||||
|
||||
test:
|
||||
$(PYTHON) -m unittest discover -s tests -p "test_*.py" -v
|
||||
|
||||
clean:
|
||||
rm -rf .venv .pytest_cache .ruff_cache dist build *.egg-info
|
||||
find . -name "__pycache__" -type d -prune -exec rm -rf {} +
|
||||
Reference in New Issue
Block a user