I would like to configure the Python MyPy tool to include the option --ignore-missing-imports, how would I do this?
I can see you can define specific linters to be run:
let g:ale_linters = {
\ 'javascript': ['eslint'],
\}
But I'm not sure how to modify that behaviour.
With Neomake you could do something like the following:
let g:neomake_python_mypy_args = neomake#makers#ft#python#mypy()['args'] + ['--ignore-missing-imports']
I think that you can do it with something like this:
let g:ale_python_mypy_options = '--ignore-missing-imports --other-option'
See :help ale-integrations which explains everything, or just read the documentation from the top with :help ale.
@w0rp Please consider addding this to the README FAQ section.
It's added in the usage section for linting, so if anyone were to go to the README and go to the linting usage documentation (which is above the FAQ) they should see it there.
Most helpful comment
I think that you can do it with something like this: