You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #3038 removed the option import-error from the TEMPLATES/.python-lint file and has caused pylint to throw up import errors. This removal seems accidental as the PR was to remove deprecated/removed options (Address issue #3037).
The import-error option was added back in PR #695 to deal with #157 and #645
Expected behaviour
Import errors aren't reported by pylint inside of the super-linter. i.e. the following error shouldn't show up: E0401: Unable to import '*******' (import-error)
Steps to Reproduce
Create a python file with 3rd-party library imports (e.g. pytest)
Describe the bug
PR #3038 removed the option
import-error
from theTEMPLATES/.python-lint
file and has caused pylint to throw up import errors. This removal seems accidental as the PR was to remove deprecated/removed options (Address issue #3037).The
import-error
option was added back in PR #695 to deal with #157 and #645Expected behaviour
Import errors aren't reported by pylint inside of the super-linter. i.e. the following error shouldn't show up:
E0401: Unable to import '*******' (import-error)
Steps to Reproduce
Logs
Additional context
The text was updated successfully, but these errors were encountered: