-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjustfile
More file actions
24 lines (18 loc) · 801 Bytes
/
justfile
File metadata and controls
24 lines (18 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set dotenv-load := false
examples_python_bin := "./examples/python/venv/bin/python"
default:
@just --list
install:
python -m pip install --upgrade pip
pip install -U -r requirements.txt
examples-python *ARGS:
{{examples_python_bin}} {{ARGS}}
examples-python-install:
if [ ! -d "examples/python/venv" ]; then python -m venv examples/python/venv; fi
{{examples_python_bin}} -m pip install --upgrade pip
{{examples_python_bin}} -m pip install -U -r examples/python/requirements.txt
examples-python-lint:
{{examples_python_bin}} -m black examples/python
{{examples_python_bin}} -m ruff --fix --extend-select I examples/python
{{examples_python_bin}} -m tryceratops --exclude examples/python/venv/ examples/python
{{examples_python_bin}} -m mypy --exclude venv/ examples/python