diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..550e467 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: test lint release + +# Run unit tests with pytest +test: + pytest + +# Lint the codebase using flake8 and pydocstyle +lint: + flake8 . + pydocstyle faster_llm + +# Publish a new release to PyPI using poetry +release: + poetry publish --build diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..ef29eb4 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,18 @@ +version: '3' + +tasks: + test: + desc: Run the unit test suite + cmds: + - pytest + + lint: + desc: Lint the codebase + cmds: + - flake8 . + - pydocstyle faster_llm + + release: + desc: Publish a new release via Poetry + cmds: + - poetry publish --build