diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2fcecf4cb6012482f1cac5bce255c15d9a36da24 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: + - repo: git@codechina.csdn.net:csdn/skill_tree_hook.git + rev: c1fbfe8805a7754a9d5c85bcf0b112ddad086075 + hooks: + - id: pre-commit + verbose: true \ No newline at end of file diff --git a/requirement.txt b/requirement.txt index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f06008111298767b133183897c4bf9babff33b31 100644 --- a/requirement.txt +++ b/requirement.txt @@ -0,0 +1,2 @@ +pre_commit~=2.16.0 +GitPython~=3.1.24 \ No newline at end of file