I do not know why, but Pylint does not understand this import while Python
itself does. I have tried different variations, but Pylint complains about all
of them.
# Import helper function to compare graphs from tests/regressions_tests
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from regression_test_helpers import compare_graphs \
- # pylint: disable=wrong-import-position
+ # pylint: disable=import-error,wrong-import-position
shapes = [
"box",
# Import helper function to compare graphs from tests/regressions_tests
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from regression_test_helpers import compare_graphs \
- # pylint: disable=wrong-import-position
+ # pylint: disable=import-error,wrong-import-position
shapes = [
"box",
# Import helper function to compare graphs from tests/regressions_tests
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from regression_test_helpers import compare_graphs \
- # pylint: disable=wrong-import-position
+ # pylint: disable=import-error,wrong-import-position
vulnfiles = [
"nullderefrebuildlist"