``` copier copy git@github.com:zauberzeug/nicegui-template.git curateekit ```
35 lines
666 B
Makefile
35 lines
666 B
Makefile
.PHONY: help sync install-ci mypy pylint pre-commit
|
|
|
|
default: help
|
|
|
|
## Available commands for this Makefile, use 'make <command>' to execute:
|
|
|
|
##
|
|
## ---------------
|
|
|
|
## help Print commands help.
|
|
help: Makefile
|
|
@sed -n 's/^##//p' $<
|
|
|
|
## sync Install all dependencies for development and testing.
|
|
sync:
|
|
uv sync
|
|
|
|
## install-ci Install all dependencies for CI testing.
|
|
install-ci:
|
|
uv sync
|
|
|
|
## mypy Run mypy type checks.
|
|
mypy:
|
|
uv run mypy .
|
|
|
|
## pylint Run pylint code analysis.
|
|
pylint:
|
|
uv run pylint ./curateekit
|
|
|
|
## ruff Run ruff code analysis.
|
|
ruff:
|
|
uv run ruff check ./curateekit
|
|
|
|
## check Run all code checks (mypy, ruff, pylint).
|
|
check: mypy ruff pylint
|