menu Chancel's blog
rss_feed
Chancel's blog
时来天地皆同力

VSCode配置代码行长度

作者:Chancel Yang, 时间:2022 May 26, 阅读:53

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

{
    "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)]]