Skip to content

Add # flake8: noqa tag to generated files #174

@wouterio

Description

@wouterio

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 parameter tags: list[str] that callers can use to specify any of these tags themselves.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions