tp-qemu icon indicating copy to clipboard operation
tp-qemu copied to clipboard

RFC: Support pre-commit

Open PaulYuuu opened this issue 8 months ago • 3 comments

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]

PaulYuuu avatar Jun 17 '24 09:06 PaulYuuu