diff --git a/TEMPLATES/.python-lint b/TEMPLATES/.python-lint index 0f974f1c..a61a6656 100644 --- a/TEMPLATES/.python-lint +++ b/TEMPLATES/.python-lint @@ -2,3 +2,10 @@ # Use multiple processes to speed up Pylint. jobs=0 + +[MESSAGES CONTROL] + +# Ignoring Import Errors is desired as super-linter +# does not support installing dependencies as it runs +disable=import-error + diff --git a/test/linters/python_pylint/python_good_2.py b/test/linters/python_pylint/python_good_2.py new file mode 100644 index 00000000..b9207b8d --- /dev/null +++ b/test/linters/python_pylint/python_good_2.py @@ -0,0 +1,5 @@ +"""Test Python file for Pylint.""" + +import pytest + +print(pytest)