style(): small improvements
This commit is contained in:
+11
-5
@@ -14,35 +14,41 @@ help: default
|
||||
run:
|
||||
@ uv run python manage.py runserver
|
||||
|
||||
[group('style')]
|
||||
style:
|
||||
just format
|
||||
just lint
|
||||
just mypy
|
||||
|
||||
[group('test')]
|
||||
check:
|
||||
just style
|
||||
just test
|
||||
just test-coverage
|
||||
|
||||
# lints codebase using golangci-lint
|
||||
[group('lint')]
|
||||
[group('style')]
|
||||
lint:
|
||||
@ uv run ruff check .
|
||||
|
||||
# lints and fixes codebase using ruff
|
||||
[group('lint')]
|
||||
[group('style')]
|
||||
fix:
|
||||
@ uv run ruff check . --fix
|
||||
|
||||
# formats codebase using ruff
|
||||
[group('lint')]
|
||||
[group('style')]
|
||||
format:
|
||||
@ uv run ruff format .
|
||||
|
||||
# checks correct formatting of the codebase using ruff
|
||||
[group('style')]
|
||||
format-check:
|
||||
@ uv run ruff format . --check
|
||||
|
||||
alias fmt := format
|
||||
|
||||
# lints codebase using mypy
|
||||
[group('lint')]
|
||||
[group('style')]
|
||||
mypy:
|
||||
@ uv run mypy .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user