wookayin / dotfiles

:house: Personal dotfiles for *NIX systems
https://dotfiles.wook.kr/
MIT License
361 stars 105 forks source link

ALE and Python Lint Engines #10

Closed wookayin closed 7 years ago

wookayin commented 7 years ago

Introduce ALE vim plugin. Python lint feature (previously from pymode) will be replaced in favor of ALE.

Feature Highlights

wookayin commented 7 years ago

Challenges and TODOs

wookayin commented 7 years ago

Currently, linters such as pylint mypy pycodestyles need to be installed manually in the virtualenv, otherwise (i.e. if they don't exist) nothing happens in vim while pymode is just disabled. This is a bad user experience -- how to let users do an easy configuration?

wookayin commented 7 years ago

Indentation customization (e.g. 2 spaces) for pycodestyle should respect editorconfig

It can be achieved using .pylintrc, e.g.

[FORMAT]
indent-string='  '
wookayin commented 7 years ago

If pylint or pycodestyle are not installed (which can be installed via pip --user or directly in virtualenvs), pymode linters will be activated as a fallback.