在组织文档的src代码中启用黑色格式化程序

时间:2019-07-10 04:02:45

标签: python emacs org-mode

我在org doc中有这样的python源代码

enter image description here

代码格式不正确,因为导入模块后应留两行空白

作为解决方案,C-c'调用代码编辑器

enter image description here

使用黑色格式化程序,但报告错误

   Wrong type argument: stringp, nil [2 times]

如何在组织文档的src代码中成功调用black?

0 个答案:

没有答案