koro1FileHeader icon indicating copy to clipboard operation
koro1FileHeader copied to clipboard

invalid escape sequence '\C'flake8(W605)

Open Tyler-Franklin opened this issue 2 years ago • 1 comments

windows环境下 FilePath字段生成的文件路径和python的 flake8规则冲突 比如filePath生成的是 : ''' FilePath : \Center\app\admin\test.py Author : name Date : 2022-07-23 01:19:32 LastEditors : name LastEditTime : 2022-07-23 01:21:06 Description : "" ''' flake8提示 :invalid escape sequence '\C'flake8(W605) line2

VsCode设置: "fileheader.configObj": { "wideSame" : true, "wideNUm" : 15 }, "fileheader.customMade": { "FilePath": "Do not edit", "Author": "git config user.name", "Date": "Do not edit", "LastEditors": "git config user.name", "LastEditTime": "Do not edit", "Description ": "", },

文件后缀(必填): py

Tyler-Franklin avatar Jul 22 '22 17:07 Tyler-Franklin

使用filePathColon可以修改路径分隔符的符号,链接

如果觉得插件还不错,就给我点个Star吧~

OBKoro1 avatar Jul 31 '22 08:07 OBKoro1