From d635b7ba05ef9fe4d55849eda4eb540b6d031e4d Mon Sep 17 00:00:00 2001 From: bronsen Date: Thu, 21 Nov 2024 12:19:37 +0100 Subject: [PATCH] [tooling] Create simple justfile Let's see how well it works out for us --- justfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..785960b --- /dev/null +++ b/justfile @@ -0,0 +1,18 @@ + +test: + # pytest options can be found in pyproject.toml + # look for [tool.pytest.ini_options] + @python -m pytest + +test-coverage: + # here we allow extra arguments to be passed to pytest + @python -m pytest --cov=src --cov-config=pyproject.toml + +lint: + @ruff check . + +lint-fix: + @ruff check --fix . + +compile-dependencies: + @pip-compile-multi