You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/dev/reformat

16 lines
315 B
Bash

#!/bin/bash
set -x
# run ruff linter
uv run --directory api --group lint ruff check --fix ./
# run ruff formatter
uv run --directory api --group lint ruff format ./
# run dotenv-linter linter
uv run --project api --group lint dotenv-linter ./api/.env.example ./web/.env.example
# run mypy check
dev/mypy-check