and sync .pre-commit-config.yaml with scripts/code-format.py Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>