Files
python-client-sdk/Justfile
T
2022-01-27 23:41:21 +00:00

29 lines
484 B
Makefile
Executable File

set dotenv-load := true
activate:
source .venv/bin/activate
venv:
python -m venv .venv
just activate
python -m pip install -r requirements.txt
python -m pip install -r docs_requirements.txt
test:
python test.py
build:
python -m build
upload:
python -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD
lint:
pyright . --venv-path .venv
coverage:
pyright --lib --ignoreexternal --verifytypes revolt
docs:
cd docs && make html