sublimetext3配置pylinter

pip install pylint

也可以到 https://pypi.python.org/pypi/pylint下载安装

该页面还提示安装

python -m pip install astroid
python -m pip install isort

我也是安装了,但是不知道是否必要

ctrl+shift+p  ->  package Control:install Package  -> pylinter

 

{
    // When versbose is 'true', various messages will be written to the console.
    // values: true or false
    "verbose": false,
    // The full path to the Python executable you want to
    // run Pylint with or simply use 'python'.
    "python_bin": "python",
    // The following paths will be added Pylint's Python path
    "python_path": [
         "D:/Python34/python.exe"//这个地方写python.exe路径
                   ],
    // Optionally set the working directory
    "working_dir": null,//写工作路径
    // Full path to the lint.py module in the pylint package
    "pylint_path": "D:/Python34/Lib/site-packages/pylint/lint.py",//这个地方写pylint/lint.py的路径
    // Optional full path to a Pylint configuration file
    "pylint_rc": null,//这里不写都行,资源路径,具体如何用还不知道
    // Set to true to automtically run Pylint on save
    "run_on_save": true,
    // Set to true to use graphical error icons
    "use_icons": true,
    "disable_outline": false,
    // Status messages stay as long as cursor is on an error line
    "message_stay": false,
    // Ignore Pylint error types. Possible values:
    // "R" : Refactor for a "good practice" metric violation
    // 重构为一个“良好做法”度量违反
    // "C" : Convention for coding standard violation
    // 编码标准违反公约
    // "W" : Warning for stylistic problems, or minor programming issues
    // 文体问题的警告,或轻微的程序问题
    // "E" : Error for important programming issues (i.e. most probably bug)
    // 重要编程问题的错误(即最有可能的bug)
    // "F" : Fatal for errors which prevented further processing
    // 致命的错误,从而阻止进一步的处理
    "ignore": [],
    // a list of strings of individual errors to disable, ex: ["C0301"]
    "disable": [],
    "plugins": []
}

如果左侧目录栏有方块乱码,

在usersetting中加入

"dpi_scale": 1.0

转载于:https://my.oschina.net/raddleoj/blog/1491185

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值