我正在使用预提交black和flake8钩子。
black
flake8
我error: cannot format在尝试对以下代码进行黑色格式化时得到了这个
error: cannot format
from {{cookiecutter.project_name}} import my_module
无论如何,是否有指示黑色,跳过/忽略特定于 cookiecutter 的语法?
python pre-commit cookiecutter python-black
cookiecutter ×1
pre-commit ×1
python ×1
python-black ×1