From 9181d2980a1dc950fdd6dc4569f1261a814f33bb Mon Sep 17 00:00:00 2001 From: ITQ Date: Thu, 12 Feb 2026 14:40:44 +0300 Subject: [PATCH] init(tests): added Justfile --- tests/e2e/justfile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 tests/e2e/justfile 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 .