Am I thinking wrong? Perhaps it's not possible to ignore errors like [pylint] E0401:Unable to import 'django.contrib.sites.shortcuts' using .pylintrc? Everything else I put in the disable= sections seems to be working.
Environment data
VS Code version: 1.20.1
Python Extension version: 2018.1 (01 Feb 2018)
Python Version: 2.7, 3.6
OS and version: Windows 10 Home 1709 16299.248
Actual behavior
Unable to import errors are shown, even though the following is set in .pylintrc
[MESSAGES CONTROL]
disable=import-error
Expected behavior
Errors should be ignored
Steps to reproduce:
- Develop locally, server on Virtualbox without remotr debugging, therefore I need to ignore the imports
Logs
Output from Python output panel
1,0,error,E0401:Unable to import 'django.db.models'
2,0,error,E0401:Unable to import 'django.conf'
3,0,error,E0401:Unable to import 'django.contrib.auth.models'
etc.
Output from Console window (Help->Developer Tools menu)
Thank you!
Am I thinking wrong? Perhaps it's not possible to ignore errors like
[pylint] E0401:Unable to import 'django.contrib.sites.shortcuts'using .pylintrc? Everything else I put in thedisable=sections seems to be working.Environment data
VS Code version: 1.20.1
Python Extension version: 2018.1 (01 Feb 2018)
Python Version: 2.7, 3.6
OS and version: Windows 10 Home 1709 16299.248
Actual behavior
Unable to import errors are shown, even though the following is set in .pylintrc
[MESSAGES CONTROL]
disable=import-error
Expected behavior
Errors should be ignored
Steps to reproduce:
Logs
Output from
Pythonoutput panelOutput from
Console window(Help->Developer Tools menu)Thank you!