安装pre-commit. pip install pre-commit. 1. 根目录加入配置文件. repos: - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.4 hooks: - id: flake8 args: ...
確定! 回上一頁