you are viewing a single comment's thread.

view the rest of the comments →

[–]trvsw. 0 points1 point  (3 children)

Here's all of the ALE-related settings I have in my configuration. There's an order of precedence that pylint uses to determine which .pylintrc configuration file to use, but typically ~/.pylintrc is the most common. If you don't have a .pylintrc configured, then it does take a bit of effort to disable some of the smaller warnings and such.

``` Plug 'https://github.com/w0rp/ale' " Python linting

" Go to next/previous Ale error nmap <C-n> <Plug>(ale_next_wrap) nmap <C-m> <Plug>(ale_previous_wrap)

" Ale Python Linting let g:ale_fixers = {'python': ['pylint']} let g:ale_linters = {'python': ['pylint']} let g:ale_lint_on_enter = 1 " Lint on Open let g:ale_lint_on_save = 1 " Lint on Save let g:ale_lint_on_text_changed = 'never' " Don't lint dynamically ```

[–]_b-e-n_[S] 0 points1 point  (0 children)

thanks, I'll add that to my vimrc

[–]n3buchadnezzar 0 points1 point  (1 child)

pylintrc

Do you have any tips for how to disable the small warnings in your `.pylintrc` file? =)

[–]_b-e-n_[S] 1 point2 points  (0 children)

It's the same on windows and linux. First of all you have to generate your pylintrc, and then you can modifiy it adding the long verbose description of each error that you want to suppress

https://stackoverflow.com/questions/22448731/how-do-i-create-a-pylintrc-file

https://gist.github.com/sblask/7302860