在.git/hooks文件夹下创建pre-commit文件 #!/bin/sh # 这里pylintrc对应你项目中pylintrc文件git-pylint-commit-hook --pylintrc=xxx.conf.
確定! 回上一頁