diff --git a/tests/e2e/justfile b/tests/e2e/justfile new file mode 100755 index 0000000..5153ca5 --- /dev/null +++ b/tests/e2e/justfile @@ -0,0 +1,40 @@ +#!/usr/bin/env just --justfile + +[group('help')] +[private] +default: + @ just --list --list-heading $'justfile manual page:\n' + +# show help +[group('help')] +help: default + +style: + just format + just lint + just mypy + +check: + just style + +# lints codebase using golangci-lint +[group('lint')] +lint: + @ uv run ruff check . + +# lints and fixes codebase using ruff +[group('lint')] +fix: + @ uv run ruff check . --fix + +# formats codebase using ruff +[group('lint')] +format: + @ uv run ruff format . + +alias fmt := format + +# lints codebase using mypy +[group('lint')] +mypy: + @ uv run mypy .