I'm developing software for Windows with Python. I am developing on Linux, and I am using Pylint to check my code. I can't get rid of the error:
F| Unable to import '_winreg'
This is obvious - Python on Linux does not have this module.
So, what do I have to put in my .pylintrc to ignore this error?
Thanks in advance, Oz
EDIT:
Documentation says:
:F0401: *Unable to import %r*
Used when pylint has been unable to import a module.
Now I need to find how to use it ...
Partial solution:
pylint --disable=F0401 <filename>
I am still looking for a way to do via .pylintrc.