Python-mode: pymode/lint.py issue with version 0.9.1 and 0.9.2

Created on 7 Jul 2017  路  7Comments  路  Source: python-mode/python-mode

For the 0.9.1 and 0.9.2 version of python-mode, an error message is thrown whenever I save a file. The issue is in file pymode/lint.py line 46: it tries to use pylint yet the default setting does not have it.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/opensrc/.config/nvim/plugged/python-mode/pymode/lint.py", line 46, in code_check
    options.linters_params['pylint']['clear_cache'] = True
KeyError: 'pylint'

Everything works okay with version v0.9.0.

Most helpful comment

switched to the dev branch but still got the error :(

All 7 comments

But yeah, the latest version of python-mode has fixed this issue.
why not give a try!!!

Thanks. The fix is in the development branch, so most people won't see it.

Thanks.

I still seem to be having this problem, even with 0.9.2.

@Limeth you need to switch to the develop branch.

switched to the dev branch but still got the error :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stevenfrog picture stevenfrog  路  9Comments

zeraus picture zeraus  路  11Comments

AdibMurshed picture AdibMurshed  路  10Comments

nachogoro picture nachogoro  路  11Comments

feoh picture feoh  路  7Comments