django-language-server/Justfile
Josh 5749b7df98
Some checks failed
lint / pre-commit (push) Has been cancelled
lint / rustfmt (push) Has been cancelled
lint / clippy (push) Has been cancelled
lint / cargo-check (push) Has been cancelled
release / test (push) Has been cancelled
release / build (push) Has been cancelled
test / generate-matrix (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
release / release (push) Has been cancelled
test / Python , Django () (push) Has been cancelled
test / tests (push) Has been cancelled
allow clippy to take arg
2025-08-22 21:38:41 -05:00

44 lines
815 B
Makefile

set dotenv-load := true
set unstable := true
mod dev ".just/devtools.just"
mod docs ".just/docs.just"
# List all available commands
[private]
default:
@just --list --list-submodules
[private]
cog:
uv run --with cogapp --with nox --no-project cog -r CONTRIBUTING.md README.md pyproject.toml
[private]
nox SESSION *ARGS:
uv run nox --session "{{ SESSION }}" -- "{{ ARGS }}"
bumpver *ARGS:
uv run --with bumpver bumpver {{ ARGS }}
check *ARGS:
cargo check {{ ARGS }}
clean:
cargo clean
clippy *ARGS:
cargo clippy --all-targets --all-features --fix {{ ARGS }} -- -D warnings
fmt *ARGS:
cargo +nightly fmt {{ ARGS }}
# run pre-commit on all files
lint:
@just --fmt
@just nox lint
test *ARGS:
@just nox test {{ ARGS }}
testall *ARGS:
@just nox tests {{ ARGS }}