From 4858ed961ca7b713ef14996d670f785616c880f1 Mon Sep 17 00:00:00 2001 From: Peter Donovan Date: Thu, 10 Mar 2022 15:55:58 -0800 Subject: [PATCH] [python] Broaden a pylint ignore. --- org.lflang/src/org/lflang/generator/python/PythonGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.lflang/src/org/lflang/generator/python/PythonGenerator.java b/org.lflang/src/org/lflang/generator/python/PythonGenerator.java index 3f08a3b488..47f1b3d7cc 100644 --- a/org.lflang/src/org/lflang/generator/python/PythonGenerator.java +++ b/org.lflang/src/org/lflang/generator/python/PythonGenerator.java @@ -216,7 +216,7 @@ public String generatePythonCode(FederateInstance federate) { return String.join("\n", "# List imported names, but do not use pylint's --extension-pkg-allow-list option", "# so that these names will be assumed present without having to compile and install.", - "from LinguaFranca"+topLevelName+" import ( # pylint: disable=no-name-in-module", + "from LinguaFranca"+topLevelName+" import ( # pylint: disable=no-name-in-module, import-error", " Tag, action_capsule_t, compare_tags, get_current_tag, get_elapsed_logical_time,", " get_elapsed_physical_time, get_logical_time, get_microstep, get_physical_time,", " get_start_time, port_capsule, port_instance_token, request_stop, schedule_copy,",