fix(core): Reorder field_validator and classmethod to fit Pydantic V2. (#5257)

This commit is contained in:
-LAN-
2024-06-17 10:04:28 +08:00
committed by GitHub
parent e95f8fa3dc
commit 5a99aeb864
11 changed files with 17 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ if ! command -v ruff &> /dev/null; then
fi
# run ruff linter
ruff check --fix --preview ./api
ruff check --fix ./api
# env files linting relies on `dotenv-linter` in path
if ! command -v dotenv-linter &> /dev/null; then