Ale: Turn Flake8 PyCodeStyle errors into warnings (or add option)

Created on 11 Jul 2017  路  2Comments  路  Source: dense-analysis/ale

flake8 combines a number of tools including the PyCodeStyle style checker. PyCodeStyle classifies some issues as warnings and others as errors, which makes sense in the context of a style checker, but in the context of linting the PyCodeStyle E### errors should really just be warnings since they're really not errors like those from pyflakes. I'd advocate just reporting all E### errors as warnings.

Alternatively, a config flag (maybe g:ale_python_flake8_codestyle_warnings?) could be used to convert the code style errors into warnings.

Most helpful comment

See :help g:ale_type_map for changing the type of problems for any linter.

All 2 comments

See :help g:ale_type_map for changing the type of problems for any linter.

Ohh, awesome, thanks!

Was this page helpful?
0 / 5 - 0 ratings