koro1FileHeader
koro1FileHeader copied to clipboard
invalid escape sequence '\C'flake8(W605)
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