tp-qemu
tp-qemu copied to clipboard
RFC: Support pre-commit
pre-commit is a framework for managing and maintaining multi-language pre-commit hooks. It is designed to ensure code quality and consistency by running checks on code before it is committed to a version control system, such as Git.
For this PR, add some hooks like isort and black to lint py files.
ID: 2802 refs: https://pre-commit.com Signed-off-by: Yihuang Yu [email protected]