Skip to content

Commit

Permalink
Suppress E501 in generated prefix util script (#644)
Browse files Browse the repository at this point in the history
We don't generally enforce linters in generated scripts, but it's easy
enough to add suppressions to these lines, which vary in length based on
the environment.
  • Loading branch information
cottsay committed May 29, 2024
1 parent 5ff4911 commit d6641a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colcon_core/shell/template/prefix_util.py.em
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ FORMAT_STR_SET_ENV_VAR = '@(shell_extension.FORMAT_STR_SET_ENV_VAR)'
@{assert shell_extension.FORMAT_STR_USE_ENV_VAR is not None}@
FORMAT_STR_USE_ENV_VAR = '@(shell_extension.FORMAT_STR_USE_ENV_VAR)'
@{assert shell_extension.FORMAT_STR_INVOKE_SCRIPT is not None}@
FORMAT_STR_INVOKE_SCRIPT = '@(shell_extension.FORMAT_STR_INVOKE_SCRIPT)'
FORMAT_STR_REMOVE_LEADING_SEPARATOR = '@(shell_extension.FORMAT_STR_REMOVE_LEADING_SEPARATOR)'
FORMAT_STR_REMOVE_TRAILING_SEPARATOR = '@(shell_extension.FORMAT_STR_REMOVE_TRAILING_SEPARATOR)'
FORMAT_STR_INVOKE_SCRIPT = '@(shell_extension.FORMAT_STR_INVOKE_SCRIPT)' # noqa: E501
FORMAT_STR_REMOVE_LEADING_SEPARATOR = '@(shell_extension.FORMAT_STR_REMOVE_LEADING_SEPARATOR)' # noqa: E501
FORMAT_STR_REMOVE_TRAILING_SEPARATOR = '@(shell_extension.FORMAT_STR_REMOVE_TRAILING_SEPARATOR)' # noqa: E501

DSV_TYPE_APPEND_NON_DUPLICATE = 'append-non-duplicate'
DSV_TYPE_PREPEND_NON_DUPLICATE = 'prepend-non-duplicate'
Expand Down

0 comments on commit d6641a8

Please sign in to comment.