Skip to content

Commit

Permalink
Add support for flake8 v6 (#608)
Browse files Browse the repository at this point in the history
It seems that flake8 v6 started checking indentation of multi-line
string literals, but it doesn't seem to work correctly for f-strings.
  • Loading branch information
cottsay authored Jan 19, 2024
1 parent c024d98 commit 4f13c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion colcon_core/executor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def add_executor_arguments(parser):
group.add_argument(
'--executor', type=str, choices=keys, default=default,
help=f'The executor to process all packages (default: {default})'
f'{descriptions}')
f'{descriptions}') # noqa: E131

for priority in extensions.keys():
extensions_same_prio = extensions[priority]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ zip_safe = false

[options.extras_require]
test =
flake8>=3.6.0,<6
flake8>=3.6.0,<7
flake8-blind-except
flake8-builtins
flake8-class-newline
Expand Down

0 comments on commit 4f13c44

Please sign in to comment.