-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add # flake8: noqa
tag to generated files
#174
Comments
It's interesting that these files end up in your source folder right? The files should be generated either directly in the |
I believe this happens on ROS humble. I think the entire directory is symlinked, so there is not an easy way around it. @Timple Are you on a new version of ROS, maybe Iron? |
Ah yes, we're running iron. So that might be different. |
Yeah we're running Humble here. We now add the noqa tag ourselves during build after generating the py files. I guess it's a minor fix to add it during generation?
…On 26 Feb 2024 at 08:06 +0100, Tim Clephas ***@***.***>, wrote:
Ah yes, we're running iron. So that might be different.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This change has been merged |
We're using the generate parameter library for a project that we build with
colcon build --symlink-install
. With--symlink-install
the generated python files also show up in our source folder.That means our code inspectors go through the generated py files as well. And those files don't pass the inspection. It would be nice if the generated py files would have the
# flake8: noqa
tag (and equivalents for other inspectors), so that the inspectors skip these files.Or even better, it would be nice if the
generate_parameter_module
function gets a parametertags: list[str]
that callers can use to specify any of these tags themselves.The text was updated successfully, but these errors were encountered: