how to tell pylint to ignore certain imports?

前端 未结 5 1520
耶瑟儿~
耶瑟儿~ 2020-12-29 03:50

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| Unabl         


        
5条回答
  •  时光取名叫无心
    2020-12-29 04:50

    Question is quite old, but right now you can ignore modules with .pylintrc like:

    ignored-modules=module1,module2,...
    

    I've used it to suppress uninstallable modules check with third-party CI tools, and it works just fine.

提交回复
热议问题