init(tests): added Justfile

This commit is contained in:
ITQ
2026-02-12 14:40:44 +03:00
parent 514393e3f8
commit 9181d2980a
+40
View File
@@ -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 .