Closed ice-tong closed 1 year ago
此外,pre-commit 建议使用 https://github.com/executablebooks/mdformat 代替 https://github.com/markdownlint/markdownlint 以避免依赖 ruby 环境:
❯ pre-commit run --all-files
[INFO] Installing environment for https://github.com/markdownlint/markdownlint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('gem', 'build', 'mdl.gemspec')
return code: 1
stdout:
Executable `gem` not found
stderr: (none)
Check the log at ~/.cache/pre-commit/pre-commit.log
谢谢老哥!
Motivation
Modification
ppq/samples/QuantZoo/QuantZoo_Segmentation.py
ppq/samples/QuantZoo/Readme.md