menu Chancel's blog
rss_feed
Chancel's blog
有善始者实繁,能克终者盖寡。

VSCode配置代码行长度

作者:Chancel Yang, 创建:2021-08-13, 字数:341, 已阅:62, 最后更新:2021-08-13

这篇文章更新于 986 天前,文中部分信息可能失效,请自行甄别无效内容。

VSCode的setting.json文件如下,使用flake8/yapf作为格式化插件

JSON
{
    "python.linting.flake8Enabled": true,
    "python.formatting.provider": "yapf",
    "python.formatting.yapfArgs": ["--style={column_limit=128}"],
    "python.linting.flake8Args": ["--max-line-length=320", "--ignore=W191, E266, W504"],
    "python.linting.pylintEnabled": false
}

[[replyMessage== null?"发表评论":"发表评论 @ " + replyMessage.m_author]]

account_circle
email
web_asset
textsms

评论列表([[messageResponse.total]])

还没有可以显示的留言...
[[messageItem.m_author]] [[messageItem.m_author]]
[[messageItem.create_time]]
[[getEnviron(messageItem.m_environ)]]
[[subMessage.m_author]] [[subMessage.m_author]] @ [[subMessage.parent_message.m_author]] [[subMessage.parent_message.m_author]]
[[subMessage.create_time]]
[[getEnviron(messageItem.m_environ)]]