• 首先安装SublimeLinter,在sublime中shift+ctrl+p,install packages:搜索sublimelinter,安装

  • 到cmd或者powershell中适应pip安装PEP8,没有安装pip的自行Google

pip install PEP8
  • 回到sublime text,Menu->Preferences->Package Settings->SublimeLinter->settings Default,添加如下字段。

"linters": {
            "pep8": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "ignore": "",
                "max-line-length": null,
                "select": ""
            }
        }

github:https://github.com/SublimeLinter/SublimeLinter-pep8

相关文章:

  • 2021-12-15
  • 2022-12-23
  • 2021-04-03
  • 2021-06-04
  • 2021-10-08
  • 2021-08-02
猜你喜欢
  • 2021-07-17
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2021-08-26
相关资源
相似解决方案