diff --git a/.gitignore b/.gitignore index c261afd..59c4f29 100755 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ dist *.egg-info docs/_build .vscode +.env diff --git a/Justfile b/Justfile new file mode 100755 index 0000000..1171209 --- /dev/null +++ b/Justfile @@ -0,0 +1,28 @@ +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: venv + python -m build + +upload: venv + 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 diff --git a/revolt/py.typed b/revolt/py.typed new file mode 100755 index 0000000..e69de29