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
commit 5a99aeb864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 17 additions and 15 deletions

View file

@ -7,6 +7,7 @@ exclude = [
line-length = 120
[tool.ruff.lint]
preview = true
select = [
"B", # flake8-bugbear rules
"F", # pyflakes rules