【问题标题】:How to setup python-linter for Atom如何为 Atom 设置 python-linter
【发布时间】:2021-12-02 23:12:44
【问题描述】:

如何为 python 设置 linter?我正在使用 Atom,我有基本的 linter,但它没有显示任何错误行(错误下方的那些红线)。任何帮助将不胜感激。

The settings for the extiension

and the other one cause i couldnt fit it in one image.

see, it wont show an error even when i use linter:lint

【问题讨论】:

  • 你真的安装了linter-python吗?您是否安装了它的要求pylama?你configure了吗?请edit您的问题添加所有详细信息。
  • Python39\Scripts 我相信是一个目录。 pylama 安装在哪里?
  • 是的,pylama.exe 安装在那里
  • 您是否尝试过关闭和重新打开 Atom?您是否有任何其他可能会禁用 linter 的扩展程序? (IIRC,python-ide 这样做。)python-linter 是否启用?你能在 Atom 之外运行 pylamapylint 吗?
  • YOOOOOO,它可以工作,PYTHON-LINTERS 是另一个包,它可以工作。

标签: python atom-editor linter


【解决方案1】:

linter-python 自 2017 年以来一直处于非活动状态。请改用 linter-pylama,尽管它自 2019 年以来也一直处于非活动状态。

【讨论】:

    【解决方案2】:

    python-linters 适用于 linter-pythonlinter-pylama 不适用的地方。

    【讨论】:

      猜你喜欢
      • 2015-07-01
      • 2017-05-28
      • 2023-04-07
      • 1970-01-01
      • 2018-08-17
      • 1970-01-01
      • 2023-03-08
      • 2020-02-20
      • 1970-01-01
      相关资源
      最近更新 更多