diff --git a/rosidl_generator_py/rosidl_generator_py/generate_py_impl.py b/rosidl_generator_py/rosidl_generator_py/generate_py_impl.py index 2a87842a..f15c199a 100644 --- a/rosidl_generator_py/rosidl_generator_py/generate_py_impl.py +++ b/rosidl_generator_py/rosidl_generator_py/generate_py_impl.py @@ -101,7 +101,7 @@ def generate_py(generator_arguments_file, typesupport_impls): if (subfolder == 'srv' or subfolder == 'action') and \ (type_.endswith('Request') or type_.endswith('Response')): continue - import_list['%s # noqa\n' % type_] = 'from %s.%s._%s import %s\n' % \ + import_list['%s # noqa\n' % type_] = 'from %s.%s._%s import %s # noqa: I100\n' % \ (args['package_name'], subfolder, module_name, type_) with open(os.path.join(args['output_dir'], subfolder, '__init__.py'), 'w') as f: