2022-04-10 23:50:12 +02:00
|
|
|
SHELL=/bin/bash
|
2017-08-22 02:02:39 +02:00
|
|
|
|
2022-04-10 23:50:12 +02:00
|
|
|
lint:
|
|
|
|
flake8
|
2022-04-22 01:28:37 +02:00
|
|
|
mypy --check-untyped-defs requests_http_signature
|
2017-08-22 02:02:39 +02:00
|
|
|
|
2022-04-10 23:50:12 +02:00
|
|
|
test: lint
|
|
|
|
python ./test/test.py -v
|
2017-08-22 02:02:39 +02:00
|
|
|
|
|
|
|
init_docs:
|
|
|
|
cd docs; sphinx-quickstart
|
|
|
|
|
|
|
|
docs:
|
2022-04-10 23:50:12 +02:00
|
|
|
sphinx-build docs docs/html
|
2017-08-22 02:02:39 +02:00
|
|
|
|
2022-04-10 23:50:12 +02:00
|
|
|
install:
|
|
|
|
-rm -rf dist
|
|
|
|
python -m build
|
2017-08-22 02:02:39 +02:00
|
|
|
pip install --upgrade dist/*.whl
|
|
|
|
|
2022-04-10 23:50:12 +02:00
|
|
|
.PHONY: test lint release docs
|
2017-08-22 02:02:39 +02:00
|
|
|
|
|
|
|
include common.mk
|